summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/fnptr-by-value-1_main.c
blob: 35c94aaea6897dbe0b60b3ef159ce4e17a1e4f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Test passing function pointers.  */

extern void fnptr_by_value_1_x (void);
extern void exit (int);
int fails;

int
main ()
{
  fnptr_by_value_1_x ();
  exit (0);
}