2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-alt-10.c
blob2e3d31fdf07b3a2e32289d0781e4ab638c9e514b
1 /* { dg-do compile } */
2 /* { dg-options "-mfp16-format=alternative -pedantic -std=gnu99" } */
4 #include <math.h>
6 /* NaNs are not representable in the alternative format; we should get a
7 diagnostic. */
8 __fp16 xx = NAN; /* { dg-warning "overflow" } */