summaryrefslogtreecommitdiff
path: root/test/SemaObjC/warn-assign-property-nscopying.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/warn-assign-property-nscopying.m')
-rw-r--r--test/SemaObjC/warn-assign-property-nscopying.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaObjC/warn-assign-property-nscopying.m b/test/SemaObjC/warn-assign-property-nscopying.m
index 953814cdce1b..1bdb4f0de93e 100644
--- a/test/SemaObjC/warn-assign-property-nscopying.m
+++ b/test/SemaObjC/warn-assign-property-nscopying.m
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fobjc-gc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -fsyntax-only -verify %s
@protocol NSCopying @end