xref: /aosp_15_r20/external/clang/test/Driver/cl-response-file.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // Test that we use the Windows tokenizer for clang-cl response files. The
2*67e74705SXin Li // trailing backslash before the space should be interpreted as a literal
3*67e74705SXin Li // backslash. PR23709
4*67e74705SXin Li 
5*67e74705SXin Li 
6*67e74705SXin Li 
7*67e74705SXin Li // RUN: echo '/I%S\Inputs\cl-response-file\ /DFOO=2' > %t.rsp
8*67e74705SXin Li // RUN: %clang_cl /c -### @%t.rsp -- %s 2>&1 | FileCheck %s
9*67e74705SXin Li 
10*67e74705SXin Li // CHECK: "-I" "{{.*}}\\Inputs\\cl-response-file\\" "-D" "FOO=2"
11