binutils-gdb/ld/testsuite/ld-x86-64/pr22001-1c.c

13 lines
150 B
C

#include <stdio.h>
extern int copy;
extern int* get_copy_p (void);
int main()
{
if (&copy == get_copy_p ())
printf ("PASS\n");
return 0;
}