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
/
plt-main3.c
blob
026e05febb27c5eb8d25c9410b17e307fb548741
1
extern
int
bar
(
void
);
2
typedef
int
(*
func_p
) (
void
);
3
extern
func_p
get_bar
(
void
);
4
5
void
6
check_bar
(
void
)
7
{
8
func_p bar_ptr
=
get_bar
();
9
if
(
bar_ptr
!=
bar
)
10
__builtin_abort
();
11
if
(
bar_ptr
() != -
1
)
12
__builtin_abort
();
13
if
(
bar
() != -
1
)
14
__builtin_abort
();
15
}