diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-12-17 18:54:24 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-12-17 18:54:24 +0000 |
commit | d397cfef01d49a41554309d67ea26340c39e1e94 (patch) | |
tree | e947e85c13062aa089892acb6df941caaceadf7c /test/CodeGenObjCXX | |
parent | e315cb3b30a0461ae501f8942f9d012bbeee3f90 (diff) | |
download | clang-d397cfef01d49a41554309d67ea26340c39e1e94.tar.gz |
Reapply r170344, this time without forgetting to commit the header changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX')
-rw-r--r-- | test/CodeGenObjCXX/property-object-reference-2.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGenObjCXX/property-object-reference-2.mm b/test/CodeGenObjCXX/property-object-reference-2.mm index 2a380385bc..25bfdf848d 100644 --- a/test/CodeGenObjCXX/property-object-reference-2.mm +++ b/test/CodeGenObjCXX/property-object-reference-2.mm @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-10.7 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple x86_64-unknown-freebsd -fobjc-runtime=gnustep-1.7 -emit-llvm -o - | FileCheck -check-prefix=CHECK-GNUSTEP %s // rdar://6137845 extern int DEFAULT(); @@ -54,3 +55,6 @@ struct TCPPObject // CHECK: [[THREE:%.*]] = bitcast %struct.TCPPObject* [[MYPROPERTY:%.*]] to i8* // CHECK: call void @objc_copyCppObjectAtomic(i8* [[TWO]], i8* [[THREE]], i8* bitcast (void (%struct.TCPPObject*, %struct.TCPPObject*)* @__assign_helper_atomic_property_ to i8*)) // CHECK: ret void + +// CHECK-GNUSTEP: objc_getCppObjectAtomic +// CHECK-GNUSTEP: objc_setCppObjectAtomic |