aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m2
-rw-r--r--test/Preprocessor/pic.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m b/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
index 7d90f3a753..574b0385d1 100644
--- a/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
+++ b/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
@@ -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;
diff --git a/test/Preprocessor/pic.c b/test/Preprocessor/pic.c
index 1a2300b1a1..1cddaa1a91 100644
--- a/test/Preprocessor/pic.c
+++ b/test/Preprocessor/pic.c
@@ -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