summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-pch-search.cpp
blob: 118cf19efbd54579cf8cb65b4a45996619d8c254 (plain)
1
2
3
4
5
6
// Note: %s and %S must be preceded by --, otherwise it may be interpreted as a
// command-line option, e.g. on Mac where %s is commonly under /Users.

// REQUIRES: x86-registered-target
// Check that pchfile.h next to to pchfile.cc is found correctly.
// RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c /Fo%t.obj /Fp%t.pch -- %S/Inputs/pchfile.cpp 
OpenPOWER on IntegriCloud