Retro68/binutils/ld/testsuite/ld-i386/pr22001-1b.c

15 lines
202 B
C
Raw Normal View History

2018-12-28 15:25:28 +00:00
#include <stdio.h>
extern int copy;
extern int get_copy (void);
extern int* get_copy_p (void);
int
main ()
{
if (copy == get_copy () && &copy == get_copy_p ())
printf ("PASS\n");
return 0;
}