Force triple for tests using __strong.

llvm-svn: 82133
This commit is contained in:
Daniel Dunbar 2009-09-17 07:21:40 +00:00
parent 1da76c4e58
commit 51418c3b90
2 changed files with 3 additions and 4 deletions

View File

@ -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 26 &&
// RUN: true
@ -79,4 +79,3 @@ int main() {
g0.a[0] = 0;
((T*) &g0)->a[0] = 0;
}

View File

@ -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;
}