PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-param-1.c
blob9c527301c449f30aacf25fe942ca419b0a313787
1 /* { dg-do compile } */
2 /* { dg-options "-mfp16-format=ieee" } */
4 /* Test that the ACLE macro is defined. */
5 #if __ARM_FP16_ARGS != 1
6 #error Unexpected value for __ARM_FP16_ARGS
7 #endif
9 /* Test that __fp16 is supported as a parameter type. */
10 extern void f (__fp16);
11 extern void (*pf) (__fp16);
13 extern void g (__fp16 *);
14 extern void (*pg) (__fp16 *);