1 /* { dg-do compile } */ 2 /* { dg-options "-fstrict-overflow -O2 -Wall -Wno-strict-overflow" } */ 3 4 /* Source: Ian Lance Taylor. */ 5 6 int foo(int i)7 foo (int i) 8 { 9 return i + 10 > i; 10 } 11