2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-alt-10.c
bloba8772a19ae00f85238a6ab174caae1d9d9f97019
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_fp16_alternative_ok } */
3 /* { dg-options "-mfp16-format=alternative -pedantic -std=gnu99" } */
5 #include <math.h>
7 /* NaNs are not representable in the alternative format; we should get a
8 diagnostic. */
9 __fp16 xx = NAN; /* { dg-warning "overflow" } */