PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / ieee / builtin-nan-1.c
bloba487dd4afd90e40f73f5163bbe15d7c6e05cff20
1 /* PR middle-end/19983 */
3 typedef __SIZE_TYPE__ size_t;
5 extern void abort(void);
6 extern int memcmp(const void *, const void *, size_t);
8 double n1 = __builtin_nan("0x1");
9 double n2 = __builtin_nan("0X1");
11 int main()
13 if (memcmp (&n1, &n2, sizeof(double)))
14 abort();
15 return 0;