mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
14 lines
171 B
C
14 lines
171 B
C
|
#include <stdio.h>
|
||
|
|
||
|
extern int protected;
|
||
|
extern int* get_protected_p (void);
|
||
|
|
||
|
int
|
||
|
main ()
|
||
|
{
|
||
|
if (&protected == get_protected_p ())
|
||
|
printf ("PASS\n");
|
||
|
|
||
|
return 0;
|
||
|
}
|