xref: /aosp_15_r20/external/clang/test/Driver/cl-pch-search.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // Note: %s and %S must be preceded by --, otherwise it may be interpreted as a
2*67e74705SXin Li // command-line option, e.g. on Mac where %s is commonly under /Users.
3*67e74705SXin Li 
4*67e74705SXin Li // REQUIRES: x86-registered-target
5*67e74705SXin Li // Check that pchfile.h next to to pchfile.cc is found correctly.
6*67e74705SXin Li // RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c /Fo%t.obj /Fp%t.pch -- %S/Inputs/pchfile.cpp
7