aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/fp16-param-1.c
blob: 9c527301c449f30aacf25fe942ca419b0a313787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-mfp16-format=ieee" } */

/* Test that the ACLE macro is defined.  */
#if __ARM_FP16_ARGS != 1
#error Unexpected value for __ARM_FP16_ARGS
#endif

/* Test that __fp16 is supported as a parameter type.  */
extern void f (__fp16);
extern void (*pf) (__fp16);

extern void g (__fp16 *);
extern void (*pg) (__fp16 *);