blob: c57f34b315771abbfbd482b57a1375e96ba878b8 [file] [log] [blame]
Reid Klecknere2d03442015-07-15 22:42:37 +00001// Don't attempt slash switches on msys bash.
2// REQUIRES: shell-preserves-root
3
4// Test that we use the Windows tokenizer for clang-cl response files. The
5// trailing backslash before the space should be interpreted as a literal
6// backslash. PR23709
7
8
9
10// RUN: echo '/I%S\Inputs\cl-response-file\ /DFOO=2' > %t.rsp
11// RUN: %clang_cl /c -### @%t.rsp -- %s 2>&1 | FileCheck %s
12
13// CHECK: "-D" "FOO=2" "-I" "{{.*}}\\Inputs\\cl-response-file\\"