repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gas:
[binutils.git]
/
gold
/
testsuite
/
ifuncvar3.c
blob
e078b567e2e46b190ab382e6694aac5d46ce16ed
1
/* Test global variable initialized to hidden STT_GNU_IFUNC symbol. */
2
3
#include <assert.h>
4
5
extern
void
bar
(
void
);
6
extern
int
didit
;
7
8
int
9
main
(
void
)
10
{
11
bar
();
12
assert
(
didit
==
1
);
13
return
0
;
14
}