diff options
-rw-r--r-- | test/SemaObjCXX/properties.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjCXX/properties.mm b/test/SemaObjCXX/properties.mm index 1b6c0c54cd..d56ac15757 100644 --- a/test/SemaObjCXX/properties.mm +++ b/test/SemaObjCXX/properties.mm @@ -37,6 +37,6 @@ void test2(Test2 *a) { - (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]; } |