summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/fp16-compile-none-1.c
blob: e91250581a0edfeac5c616effe69aab122af9ed8 (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options "-mfp16-format=none" } */

/* __fp16 type name is not recognized unless you explicitly enable it
   by selecting -mfp16-format=ieee or -mfp16-format=alternative.  */
__fp16 xx = 0.0;  /* { dg-error "unknown type name" } */