summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/wvla-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/wvla-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/wvla-3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/wvla-3.c b/gcc/testsuite/gcc.dg/wvla-3.c
index 3d5d3aa5434..45132fa6b18 100644
--- a/gcc/testsuite/gcc.dg/wvla-3.c
+++ b/gcc/testsuite/gcc.dg/wvla-3.c
@@ -2,4 +2,4 @@
/* { dg-options "-pedantic-errors -std=c89 -Wvla" } */
extern void
-func (int i, int array[i]); /* { dg-error "error: ISO C90 forbids variable.* array 'array'" } */
+func (int i, int array[i]); /* { dg-error "ISO C90 forbids variable.* array 'array'" } */