summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/objc2-write-barrier-3.m
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-05-20 18:22:28 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-05-20 18:22:28 +0000
commitc21ba96566316fd0196cf735634089a663c1da07 (patch)
tree335bd20843c3083e45f5b6fd4b0decb53c704f29 /clang/test/CodeGenObjC/objc2-write-barrier-3.m
parent0454f657ce3648fd5c911ac33acdbd140e17a883 (diff)
downloadbcm5719-llvm-c21ba96566316fd0196cf735634089a663c1da07.tar.gz
bcm5719-llvm-c21ba96566316fd0196cf735634089a663c1da07.zip
More Objective-C++ GC tests.
llvm-svn: 104253
Diffstat (limited to 'clang/test/CodeGenObjC/objc2-write-barrier-3.m')
-rw-r--r--clang/test/CodeGenObjC/objc2-write-barrier-3.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/objc2-write-barrier-3.m b/clang/test/CodeGenObjC/objc2-write-barrier-3.m
index 626083b1c42..cb72cc06e55 100644
--- a/clang/test/CodeGenObjC/objc2-write-barrier-3.m
+++ b/clang/test/CodeGenObjC/objc2-write-barrier-3.m
@@ -1,6 +1,9 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -fobjc-gc -emit-llvm -o %t %s
// RUN: grep objc_assign_ivar %t | count 3
// RUN: grep objc_assign_strongCast %t | count 6
+// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -fobjc-gc -emit-llvm -o %t %s
+// RUN: grep objc_assign_ivar %t | count 3
+// RUN: grep objc_assign_strongCast %t | count 6
struct Slice {
void *__strong * items;
OpenPOWER on IntegriCloud