diff options
author | John McCall <rjmccall@apple.com> | 2012-01-11 01:35:55 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-01-11 01:35:55 +0000 |
commit | 52f220df136eaa96b648d8ce0cc29b62c48d645c (patch) | |
tree | cce7203a60ad3f04d240e829da2bafbcccba4d19 | |
parent | 256ef642f8feef22fd53be7efa868e8e34752eed (diff) |
Typo in test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147905 91177308-0d34-0410-b5e6-96231b3b80d8
-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]; } |