Sign in
gnu
/
binutils-gdb
/
master
/
.
/
ld
/
testsuite
/
ld-elf
/
pr34165.c
blob: 3793dda4403d4d584241142b56840682e4b8df4a [
file
]
extern
__thread
int
x
__attribute__
((
visibility
(
"hidden"
)))
__attribute__
((
weak
));
extern
__thread
int
x_used
__attribute__
((
visibility
(
"hidden"
)))
__attribute__
((
weak
));
int
main
(
void
)
{
if
(!
x_used
)
x
++;
return
0
;
}