Retro68/binutils/ld/testsuite/ld-size/size-10a.c

15 lines
194 B
C
Raw Normal View History

#include <stdio.h>
extern int bar_size;
extern char *get_bar (int, int);
int
main ()
{
char *bar = get_bar (2, 20);
if (bar_size == 10 && bar[2] == 20)
printf ("OK\n");
return 0;
}