aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-10-02 09:29:48 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-10-02 09:29:48 +0000
commite50d4f6a06c306e86de780cabb6309afb8d9cb86 (patch)
tree52a4565ea88e4d2d18640871e0336c215e1e898b
parent39d26c3e499470cd80a3e6f26f11ac681cd9712c (diff)
Force triple in test to unbreak it on non-darwin platforms.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164994 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaObjC/nonarc-weak.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/nonarc-weak.m b/test/SemaObjC/nonarc-weak.m
index 912a0b160b..ab51875de1 100644
--- a/test/SemaObjC/nonarc-weak.m
+++ b/test/SemaObjC/nonarc-weak.m
@@ -1,5 +1,5 @@
-// RUN: %clang -fsyntax-only -Wunused-function %s > %t.nonarc 2>&1
-// RUN: %clang -fsyntax-only -Wunused-function -fobjc-arc %s > %t.arc 2>&1
+// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -fobjc-runtime=macosx-10.8.0 -fsyntax-only -Wunused-function %s > %t.nonarc 2>&1
+// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -fobjc-runtime=macosx-10.8.0 -fsyntax-only -Wunused-function -fobjc-arc %s > %t.arc 2>&1
// RUN: FileCheck -input-file=%t.nonarc %s
// RUN: FileCheck -input-file=%t.arc -check-prefix=ARC %s