repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Automatic date update in version.in
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-i386
/
weakundef1.c
blob
ca54a5e11c70b76526a36c82abfb586c2eb23a84
1
#include <stdlib.h>
2
#include <stdio.h>
3
4
extern
int
visibility_var_weak
5
__attribute__
((
weak
,
visibility
(
"hidden"
)));
6
7
int
8
main
()
9
{
10
if
(&
visibility_var_weak
!=
NULL
)
11
abort
();
12
13
printf
(
"PASS
\n
"
);
14
15
return
0
;
16
}