binutils-gdb/ld/testsuite/ld-size/size-7a.c

13 lines
146 B
C

#include <stdio.h>
extern char size_of_bar asm ("bar@SIZE");
int
main ()
{
if (10 == (long) &size_of_bar)
printf ("OK\n");
return 0;
}