PR server/15604
[deliverable/binutils-gdb.git] / gold / testsuite / script_test_11.c
CommitLineData
502e8a84
CC
1static unsigned int buffer1[256] __attribute((used));
2static unsigned int buffer2[256] __attribute((used)) = { 1 };
3
4unsigned int foo __attribute__((section(".foo")));
5extern char __foo_start;
6extern char __foo_end;
7
8int
9main (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.036623 seconds and 4 git commands to generate.