]> granicus.if.org Git - clang/commitdiff
Use -isystem rather than relying on -isysroot to work consistently
authorDouglas Gregor <dgregor@apple.com>
Thu, 2 Feb 2012 19:35:15 +0000 (19:35 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 2 Feb 2012 19:35:15 +0000 (19:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149626 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/cstd.m

index adef66b45bfb9edfbf51a4dd3ba85950b3a4557a..85780f49f5423d804df71ccab10d23f09d05c82c 100644 (file)
@@ -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;