Sign in
gnu
/
binutils-gdb
/
6b86da53d5ee2022b9065f445d23356190380746
/
.
/
ld
/
testsuite
/
ld-pie
/
weakundef-data.c
blob: af411bccbfdb37e17e228f3701a7a6e3e63f388e [
file
] [
log
] [
blame
]
#include
<stdio.h>
#pragma
weak undef_data
extern
int
undef_data
;
int
*
ptr_to_data
=
&
undef_data
;
int
main
(
void
)
{
if
(
ptr_to_data
==
NULL
)
printf
(
"PASSED\n"
);
return
0
;
}