summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/objc2-write-barrier.m
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-17 07:21:40 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-17 07:21:40 +0000
commit51418c3b9045127b87ed58c6cb8966fa7de700a9 (patch)
treecc17452ffa797f1082671335f0b3672c9c7c4f37 /clang/test/CodeGenObjC/objc2-write-barrier.m
parent1da76c4e58ba16f3bf55a91041f805fd96d0b70c (diff)
downloadbcm5719-llvm-51418c3b9045127b87ed58c6cb8966fa7de700a9.tar.gz
bcm5719-llvm-51418c3b9045127b87ed58c6cb8966fa7de700a9.zip
Force triple for tests using __strong.
llvm-svn: 82133
Diffstat (limited to 'clang/test/CodeGenObjC/objc2-write-barrier.m')
-rw-r--r--clang/test/CodeGenObjC/objc2-write-barrier.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/objc2-write-barrier.m b/clang/test/CodeGenObjC/objc2-write-barrier.m
index 60835dc4fe6..3e0971640c8 100644
--- a/clang/test/CodeGenObjC/objc2-write-barrier.m
+++ b/clang/test/CodeGenObjC/objc2-write-barrier.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fnext-runtime -fobjc-gc -fobjc-newgc-api -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple x86_64-apple-darwin10 -fnext-runtime -fobjc-gc -fobjc-newgc-api -emit-llvm -o %t %s &&
// RUN: grep -F '@objc_assign_global' %t | count 21 &&
// RUN: grep -F '@objc_assign_ivar' %t | count 11 &&
// RUN: true
@@ -90,7 +90,7 @@ int testGlobals() {
ASSIGNTEST(staticGlobalStruct.elementArray[0], GlobalAssigns); // objc_assign_global
ASSIGNTEST(staticGlobalStruct.cfElement, GlobalAssigns); // objc_assign_global
ASSIGNTEST(staticGlobalStruct.cfElementArray[0], GlobalAssigns); // objc_assign_global
-
+
return counter;
}
OpenPOWER on IntegriCloud