PR server/15604
[deliverable/binutils-gdb.git] / gold / testsuite / script_test_11.c
1 static unsigned int buffer1[256] __attribute((used));
2 static unsigned int buffer2[256] __attribute((used)) = { 1 };
3
4 unsigned int foo __attribute__((section(".foo")));
5 extern char __foo_start;
6 extern char __foo_end;
7
8 int
9 main (void)
10 {
11 if (&__foo_end - &__foo_start != sizeof(foo))
12 return 1;
13 if (&__foo_start != (char *)&foo)
14 return 2;
15 return 0;
16 }
This page took 0.028909 seconds and 4 git commands to generate.