aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/objc2-no-write-barrier.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/objc2-no-write-barrier.m')
-rw-r--r--test/CodeGenObjC/objc2-no-write-barrier.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGenObjC/objc2-no-write-barrier.m b/test/CodeGenObjC/objc2-no-write-barrier.m
index 544c329c5e20..a0ebc100fb2f 100644
--- a/test/CodeGenObjC/objc2-no-write-barrier.m
+++ b/test/CodeGenObjC/objc2-no-write-barrier.m
@@ -1,5 +1,7 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
// RUN: grep 'objc_assign' %t | count 0
+// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: grep 'objc_assign' %t | count 0
typedef struct {
int ival;