Force triple for a number of tests that rely on __weak.
llvm-svn: 68826
This commit is contained in:
parent
5ec5a30901
commit
670af594d8
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang-cc -fsyntax-only -verify %s
|
||||
// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
|
||||
|
||||
@interface Subtask
|
||||
{
|
||||
|
|
|
@ -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}}
|
||||
};
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue