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