aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-02 19:35:15 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-02 19:35:15 +0000
commit59c9c72ba10dc778d326a7715a8f8c39ffa0a3a4 (patch)
treeab49fa01dcab6810fa609886f3d2389900b6555b
parentff2a0ecae1d7692dbb63aa540dba41a8c21d7ee4 (diff)
Use -isystem rather than relying on -isysroot to work consistently
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149626 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Modules/cstd.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Modules/cstd.m b/test/Modules/cstd.m
index adef66b45b..85780f49f5 100644
--- a/test/Modules/cstd.m
+++ b/test/Modules/cstd.m
@@ -1,5 +1,5 @@
// RUN: rm -rf %t
-// RUN: %clang -fsyntax-only -v -isysroot %S/Inputs/System -fmodules -fmodule-cache-path %t -D__need_wint_t -Werror=implicit-function-declaration %s
+// RUN: %clang -fsyntax-only -isystem %S/Inputs/System/usr/include -fmodules -fmodule-cache-path %t -D__need_wint_t -Werror=implicit-function-declaration %s
// Supplied by compiler, but referenced from the "/usr/include" module map.
@import cstd.float_constants;