summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/overflow-warn-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/overflow-warn-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/overflow-warn-3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/overflow-warn-3.c b/gcc/testsuite/gcc.dg/overflow-warn-3.c
index f20940efdcd..2aa8b7f7eb6 100644
--- a/gcc/testsuite/gcc.dg/overflow-warn-3.c
+++ b/gcc/testsuite/gcc.dg/overflow-warn-3.c
@@ -40,7 +40,7 @@ f (void)
/* This expression is not required to be a constant expression, so
it should just involve undefined behavior at runtime. */
int c = INT_MAX + 1; /* { dg-warning "warning: integer overflow in expression" } */
- /* { dg-bogus "warning: overflow in constant expression" "constant" { xfail *-*-* } 42 } */
+
}
/* But this expression does need to be constant. */