ubsan: z8k: index 10 out of bounds for type 'unsigned int const[10]'
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / plt-main3.c
CommitLineData
4a7a7923
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.267387 seconds and 4 git commands to generate.