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