summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/objc2-strong-cast-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/objc2-strong-cast-1.m')
-rw-r--r--test/CodeGenObjC/objc2-strong-cast-1.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenObjC/objc2-strong-cast-1.m b/test/CodeGenObjC/objc2-strong-cast-1.m
index 509f21a..b79f8a0 100644
--- a/test/CodeGenObjC/objc2-strong-cast-1.m
+++ b/test/CodeGenObjC/objc2-strong-cast-1.m
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -x objective-c++ -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
@interface I {
__attribute__((objc_gc(strong))) int *i_IdocumentIDs;
OpenPOWER on IntegriCloud