Clang Project

clang_source_code/test/Driver/cl-response-file.c
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