diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/vla-init-5.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/vla-init-5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vla-init-5.c b/gcc/testsuite/gcc.dg/vla-init-5.c index b1455dbd3a0..aa9f4910ac9 100644 --- a/gcc/testsuite/gcc.dg/vla-init-5.c +++ b/gcc/testsuite/gcc.dg/vla-init-5.c @@ -4,4 +4,4 @@ /* { dg-options "" } */ const int i = 1; -void foo() { void *p = (char [][i]){ "" }; } /* { dg-error "error: compound literal has variable size" } */ +void foo() { void *p = (char [][i]){ "" }; } /* { dg-error "compound literal has variable size" } */ |