Force triple for a number of tests that rely on __weak.

llvm-svn: 68826
This commit is contained in:
Daniel Dunbar 2009-04-10 21:23:20 +00:00
parent 5ec5a30901
commit 670af594d8
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
// RUN: clang-cc -triple i386-apple-darwin9 -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
@interface PBXTarget
{

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s -O2 &&
// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin9 -o %t %s -O2 &&
// RUN: grep 'ret i32' %t | count 1 &&
// RUN: grep 'ret i32 1' %t | count 1

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fobjc-gc -fsyntax-only -verify %s
// RUN: clang-cc -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
@interface INTF
{

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fsyntax-only -verify %s
// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
@interface Subtask
{

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fsyntax-only -fobjc-gc -verify %s
// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
struct S {
__weak id p; // expected-warning {{__weak attribute cannot be specified on a field declaration}}
};

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fsyntax-only -fobjc-gc -verify %s
// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
struct S {
__weak id w; // expected-warning {{__weak attribute cannot be specified on a field declaration}}