Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr66272.c
blob6f0148a45f95cc032ab3e38421e56c84c88a75ea
1 /* { dg-do run } */
3 struct S
5 int f0;
6 int f1;
7 };
9 int b;
11 int main ()
13 struct S a[2] = { 0 };
14 struct S d = { 0, 1 };
15 for (b = 0; b < 2; b++)
17 a[b] = d;
18 d = a[0];
20 if (d.f1 != 1)
21 __builtin_abort ();
22 return 0;