☰
Debian Codegraph
@
2.35.1+dfsg-2
/
/
gnu
/
binutils-2.35.1
/
ld
/
testsuite
/
ld-i386
/
plt-main4.c
☽
☼
gnu/binutils-2.35.1/ld/testsuite/ld-i386/plt-main4.c
code
plain
raw
symbols
SCIP
GPL-3+
1990-2020 Free Software Foundation, Inc.
debian/copyright
1
extern
int
foo
(
void
);
2
typedef
int
(*
func_p
) (
void
);
3
extern
func_p
foo_ptr;
4
5
void
6
check_foo
(
void
)
7
{
8
if
(foo_ptr != foo)
9
__builtin_abort
();
10
if
(
foo_ptr
() !=
1
)
11
__builtin_abort
();
12
if
(
foo
() !=
1
)
13
__builtin_abort
();
14
}