summaryrefslogtreecommitdiffstats
path: root/test/SemaObjCXX/vla.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjCXX/vla.mm')
-rw-r--r--test/SemaObjCXX/vla.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjCXX/vla.mm b/test/SemaObjCXX/vla.mm
index 9c6fc54..d6da1c0 100644
--- a/test/SemaObjCXX/vla.mm
+++ b/test/SemaObjCXX/vla.mm
@@ -6,7 +6,7 @@
@end
void test(Data *d) {
- char buffer[[d length]]; // expected-error{{variable length arrays are not permitted in C++}}
+ char buffer[[d length]];
[d getData:buffer];
}
OpenPOWER on IntegriCloud