diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/c90-const-expr-10.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/c90-const-expr-10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/c90-const-expr-10.c b/gcc/testsuite/gcc.dg/c90-const-expr-10.c index bad388c90b1..30c60e31f90 100644 --- a/gcc/testsuite/gcc.dg/c90-const-expr-10.c +++ b/gcc/testsuite/gcc.dg/c90-const-expr-10.c @@ -8,7 +8,7 @@ __extension__ typedef __SIZE_TYPE__ size_t; void *p = (size_t)(void *)0; /* { dg-error "without a cast" } */ -struct s { void *a; } q = { (size_t)(void *)0 }; /* { dg-error "without a cast" } */ +struct s { void *a; } q = { (size_t)(void *)0 }; /* { dg-error "without a cast|near initialization" } */ void * f (void) { |