OSDN Git Service

PR middle-end/29274
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / arm / fp16-compile-alt-10.c
1 /* { dg-do compile } */
2 /* { dg-options "-mfp16-format=alternative -pedantic -std=gnu99" } */
3
4 #include <math.h>
5
6 /* NaNs are not representable in the alternative format; we should get a
7    diagnostic.  */
8 __fp16 xx = NAN; /* { dg-warning "overflow" } */