1 /* { dg-do compile { target arm*-*-* } } */
2 /* { dg-options "-mfp16-format=ieee" } */
4 /* Functions cannot have parameters of type __fp16. */
5 extern void f (__fp16); /* { dg-error "parameters cannot have __fp16 type" } */
6 extern void (*pf) (__fp16); /* { dg-error "parameters cannot have __fp16 type" } */
8 /* These should be OK. */
9 extern void g (__fp16 *);
10 extern void (*pg) (__fp16 *);