Typo in test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147905 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaObjCXX/properties.mm b/test/SemaObjCXX/properties.mm
index 1b6c0c5..d56ac15 100644
--- a/test/SemaObjCXX/properties.mm
+++ b/test/SemaObjCXX/properties.mm
@@ -37,6 +37,6 @@
- (int) length;
@end
void test3(Test3 *t) {
- char vla[t.length] = {};
- char *heaparray = new char[t.length]; // expected-error {{variable-sized object may not be initialized}}
+ char vla[t.length] = {}; // expected-error {{variable-sized object may not be initialized}}
+ char *heaparray = new char[t.length];
}