aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/array-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/array-init.c')
-rw-r--r--test/Sema/array-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/array-init.c b/test/Sema/array-init.c
index 7aecdda40e..24a0070c1f 100644
--- a/test/Sema/array-init.c
+++ b/test/Sema/array-init.c
@@ -158,7 +158,7 @@ void charArrays()
char c3[5] = { "Hello" };
char c4[4] = { "Hello" }; //expected-warning{{initializer-string for char array is too long}}
- int i3[] = {}; //expected-error{{at least one initializer value required to size array}} expected-warning{{use of GNU empty initializer extension}}
+ int i3[] = {}; //expected-warning{{zero size arrays are an extension}} expected-warning{{use of GNU empty initializer extension}}
}
void variableArrayInit() {