gdb: Convert language la_compute_program field to a method
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / plt-main3.c
CommitLineData
76e7af5f
L
1extern int bar(void);
2typedef int (*func_p) (void);
3extern func_p get_bar (void);
4
5void
6check_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}
This page took 0.272244 seconds and 4 git commands to generate.