summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2014-04-29 01:04:34 +0000
committerBen Langmuir <blangmuir@apple.com>2014-04-29 01:04:34 +0000
commitc829f19e244e8f1ccb63a785260ec6958d0d417f (patch)
treebd7eee65f4107770b80cb411173b43fc0c81c3e6 /clang
parent1057e094321350f6863e73516174a46a2b41ea95 (diff)
downloadbcm5719-llvm-c829f19e244e8f1ccb63a785260ec6958d0d417f.tar.gz
bcm5719-llvm-c829f19e244e8f1ccb63a785260ec6958d0d417f.zip
Add missing triple to make -isysroot work
llvm-svn: 207479
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Modules/Werror-Wsystem-headers.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Modules/Werror-Wsystem-headers.m b/clang/test/Modules/Werror-Wsystem-headers.m
index b3ca77e9602..c4cd1a6378c 100644
--- a/clang/test/Modules/Werror-Wsystem-headers.m
+++ b/clang/test/Modules/Werror-Wsystem-headers.m
@@ -5,17 +5,17 @@
// Initial module build
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fdisable-module-hash \
-// RUN: -isysroot %S/Inputs/System -fsyntax-only %s -verify
+// RUN: -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -fsyntax-only %s -verify
// RUN: cp %t/cstd.pcm %t-saved/cstd.pcm
// Even with -Werror don't rebuild a system module
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fdisable-module-hash \
-// RUN: -isysroot %S/Inputs/System -fsyntax-only %s -verify -Werror
+// RUN: -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -fsyntax-only %s -verify -Werror
// RUN: diff %t/cstd.pcm %t-saved/cstd.pcm
// Unless -Wsystem-headers is on
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fdisable-module-hash \
-// RUN: -isysroot %S/Inputs/System -fsyntax-only %s -verify \
+// RUN: -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -fsyntax-only %s -verify \
// RUN: -Werror=unused -Wsystem-headers
// RUN: not diff %t/cstd.pcm %t-saved/cstd.pcm
OpenPOWER on IntegriCloud