Fix commit 0a7d38897b9fb1ec7a064ca3347cbac3ba49e5ac
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / plt-main4.c
CommitLineData
76e7af5f
L
1extern int foo(void);
2typedef int (*func_p) (void);
3extern func_p foo_ptr;
4
5void
6check_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}
This page took 0.127916 seconds and 4 git commands to generate.