Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-i386/pr21997-1b.c

17 lines
244 B
C
Raw Permalink Normal View History

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