Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr49958.c
blobde689bcde50608f912a194d2022ccf0304a8072a
1 /* { dg-do run } */
2 /* { dg-options "-fstrict-overflow" } */
4 extern void abort (void);
5 int foo (int i, int j, int o, int m) { return i*o + 1 + j*m > 1; }
6 int main()
8 if (foo (- __INT_MAX__ - 1, -1, 1, 1))
9 abort ();
10 return 0;