URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [arm/] [fp16-unprototyped-1.c] - Rev 319
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test promotion of __fp16 to double as arguments to unprototyped function in another compilation unit. */ /* { dg-do run } */ /* { dg-options "-mfp16-format=ieee" } */ /* { dg-additional-sources "fp16-unprototyped-2.c" } */ #include <stdlib.h> extern int f (); static __fp16 x = 42.0; static __fp16 y = -42.0; int main (void) { if (!f (x, y)) abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log