1 /* Test promotion of __fp16 to double as arguments to unprototyped 2 function in another compilation unit. */ 3 4 /* { dg-do run } */ 5 /* { dg-options "-mfp16-format=ieee" } */ 6 /* { dg-additional-sources "fp16-unprototyped-2.c" } */ 7 8 #include <stdlib.h> 9 10 extern int f (); 11 12 static __fp16 x = 42.0; 13 static __fp16 y = -42.0; 14 15 int main(void)16main (void) 17 { 18 if (!f (x, y)) 19 abort (); 20 return 0; 21 } 22