summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/objc2-write-barrier-5.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/objc2-write-barrier-5.m')
-rw-r--r--test/CodeGenObjC/objc2-write-barrier-5.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenObjC/objc2-write-barrier-5.m b/test/CodeGenObjC/objc2-write-barrier-5.m
index babe26d..373df0c 100644
--- a/test/CodeGenObjC/objc2-write-barrier-5.m
+++ b/test/CodeGenObjC/objc2-write-barrier-5.m
@@ -1,6 +1,9 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
// RUN: grep objc_assign_ivar %t | count 0
// RUN: grep objc_assign_strongCast %t | count 5
+// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: grep objc_assign_ivar %t | count 0
+// RUN: grep objc_assign_strongCast %t | count 5
@interface TestUnarchiver
{
OpenPOWER on IntegriCloud