summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/objc2-weak-ivar.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/objc2-weak-ivar.m')
-rw-r--r--test/CodeGenObjC/objc2-weak-ivar.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenObjC/objc2-weak-ivar.m b/test/CodeGenObjC/objc2-weak-ivar.m
index cfe1e95..8c91a80 100644
--- a/test/CodeGenObjC/objc2-weak-ivar.m
+++ b/test/CodeGenObjC/objc2-weak-ivar.m
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
@class NSObject;
@interface Foo {
OpenPOWER on IntegriCloud