1 /* { dg-do compile } */ 2 /* { dg-require-effective-target arm_fp16_none_ok } */ 3 /* { dg-options "-mfp16-format=none" } */ 4 5 /* mode(HF) attributes are not recognized unless you explicitly enable 6 half-precision floating point by selecting -mfp16-format=ieee or 7 -mfp16-format=alternative. */ 8 float xx __attribute__((mode(HF))) = 0.0; /* { dg-error "HF" } */ 9