diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/gnu99-const-expr-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/gnu99-const-expr-2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/gnu99-const-expr-2.c b/gcc/testsuite/gcc.dg/gnu99-const-expr-2.c index f9acef8..4ce5445 100644 --- a/gcc/testsuite/gcc.dg/gnu99-const-expr-2.c +++ b/gcc/testsuite/gcc.dg/gnu99-const-expr-2.c @@ -19,8 +19,8 @@ f (void) constant expression. */ a = __builtin_choose_expr ((void *)0, b, c); /* { dg-error "constant" } */ a = __builtin_choose_expr (0 * (INT_MAX + 1), b, c); /* { dg-warning "integer overflow in expression" } */ - /* { dg-error "overflow in constant expression" "constant" { target *-*-* } 21 } */ + /* { dg-error "overflow in constant expression" "constant" { target *-*-* } .-1 } */ a = __builtin_choose_expr (1 / 0, 0, 0); /* { dg-warning "division by zero" } */ - /* { dg-error "not a constant" "error" { target *-*-* } 23 } */ + /* { dg-error "not a constant" "error" { target *-*-* } .-1 } */ a = __builtin_choose_expr ((1 ? 1 : a), b, c); /* { dg-error "constant" } */ } |