Force triple for these tests.

llvm-svn: 68651
This commit is contained in:
Daniel Dunbar 2009-04-08 23:02:51 +00:00
parent aa55f949ac
commit 6eaebd0934
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -analyze -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify
// RUN: clang-cc -triple i386-apple-darwin9 -analyze -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify
@interface MyClass {}
- (void *)voidPtrM;

View File

@ -1,10 +1,10 @@
// RUN: clang -static -dM -E -o %t %s &&
// RUN: clang -ccc-host-triple i386-unknown-unknown -static -dM -E -o %t %s &&
// RUN: grep '#define __PIC__' %t | count 0 &&
// RUN: grep '#define __pic__' %t | count 0 &&
// RUN: clang -fpic -dM -E -o %t %s &&
// RUN: clang -ccc-host-triple i386-unknown-unknown -fpic -dM -E -o %t %s &&
// RUN: grep '#define __PIC__ 1' %t | count 1 &&
// RUN: grep '#define __pic__ 1' %t | count 1 &&
// RUN: clang -fPIC -dM -E -o %t %s &&
// RUN: clang -ccc-host-triple i386-unknown-unknown -fPIC -dM -E -o %t %s &&
// RUN: grep '#define __PIC__ 2' %t | count 1 &&
// RUN: grep '#define __pic__ 2' %t | count 1 &&
// RUN: true