blob: 9ec21e5c1cc45dd17e214ab6da82fc86b6427084 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target arm_fp16_none_ok } */
/* { dg-options "-mfp16-format=none" } */
/* mode(HF) attributes are not recognized unless you explicitly enable
half-precision floating point by selecting -mfp16-format=ieee or
-mfp16-format=alternative. */
float xx __attribute__((mode(HF))) = 0.0; /* { dg-error "HF" } */