Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/pr26391a.c
2023-03-06 14:48:14 +01:00

18 lines
235 B
C

typedef void (*func_p) (void);
extern func_p bar1_p (void);
extern func_p bar2_p (void);
extern func_p bar3_p (void);
int
main ()
{
func_p f;
f = bar1_p ();
f ();
f = bar2_p ();
f ();
f = bar3_p ();
f ();
return 0;
}