diff options
Diffstat (limited to 'ld/testsuite/ld-size/size-7a.c')
-rw-r--r-- | ld/testsuite/ld-size/size-7a.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-size/size-7a.c b/ld/testsuite/ld-size/size-7a.c new file mode 100644 index 0000000..c415180 --- /dev/null +++ b/ld/testsuite/ld-size/size-7a.c @@ -0,0 +1,12 @@ +#include <stdio.h> + +extern char size_of_bar asm ("bar@SIZE"); + +int +main () +{ + if (10 == (long) &size_of_bar) + printf ("OK\n"); + + return 0; +} |