Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
hjl
/
binutils
/
e2aadbf57d051f83f131b692d3fe1a95e5d532f2
/
.
/
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
;
}