2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr61045.c
blob1808cdc259ff8020ec4de97a717227cb993c8e1a
1 /* { dg-do run } */
2 /* { dg-options "-fstrict-overflow" } */
4 int main ()
6 int a = 0;
7 int b = __INT_MAX__;
8 int t = (a - 2) > (b - 1);
9 if (t != 0)
10 __builtin_abort();
11 return 0;