2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-none-2.c
blob9ec21e5c1cc45dd17e214ab6da82fc86b6427084
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_fp16_none_ok } */
3 /* { dg-options "-mfp16-format=none" } */
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" } */