Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/pr21997-1c.c

14 lines
171 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#include <stdio.h>
extern int protected;
extern int* get_protected_p (void);
int
main ()
{
if (&protected == get_protected_p ())
printf ("PASS\n");
return 0;
}