2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / func-ptr-1.c
blob55f0e10660fcf623e0c8ee76b69cabd658f0ceb5
1 static double f (float a);
2 static double (*fp) (float a);
4 main ()
6 fp = f;
7 if (fp ((float) 1) != 1.0)
8 abort ();
9 exit (0);
12 static double
13 f (float a)
15 return a;