Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr30364-1.c
blob64ee7e44e36b812b78fead7dd09bb31149f9ba51
1 /* { dg-do run } */
3 #include <limits.h>
4 extern void abort (void);
6 int f(int a, int b)
8 if (a > INT_MAX - 15) return 0;
9 if (b > INT_MAX - 15) return 0;
11 int c = (a - 20) + (b - 20);
12 return c > INT_MAX - 15;
15 int main()
17 if (f (INT_MAX - 15, 41) != 1)
18 abort ();
19 return 0;