1 /* { dg-do compile } */
2 /* { dg-options "-Woverflow -Wdiv-by-zero -Werror -Wfatal-errors" } */
5 int i
= INT_MAX
+ 1; /* { dg-error "integer overflow in expression" } */
8 /* { dg-message "being treated as errors" "" { target *-*-* } 0 } */
9 /* { dg-message "terminated due to -Wfatal-errors" "" { target *-*-* } 0 } */