mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
19 lines
235 B
C
19 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;
|
||
|
}
|