RISC-V: Bugfix vfmv insn honor zvfhmin for FP16 SEW [PR115763]
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / func-ptr-1.c
blob5d0df69a123a05d86c66a710f45c5d7bb5d39262
1 void abort (void);
2 void exit (int);
4 static double f (float a);
5 static double (*fp) (float a);
7 int
8 main (void)
10 fp = f;
11 if (fp ((float) 1) != 1.0)
12 abort ();
13 exit (0);
16 static double
17 f (float a)
19 return a;