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