blob: 401cbc3c98717d959210e9418111c1be3266fcdf [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fstrict-overflow -O2 -Wstrict-overflow" } */
/* Source: Ian Lance Taylor. */
int
foo (int i)
{
return i + 10 > i; /* { dg-warning "assuming signed overflow does not occur" "correct warning" { xfail *-*-* } } */
}