blob: 51ee00bff4ed18c26842c0848dfd653e3fc89bf9 [file] [log] [blame]
Reid Klecknere2d03442015-07-15 22:42:37 +00001// 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
Douglas Katzman57a9c7e2015-07-29 18:39:14 +000010// CHECK: "-I" "{{.*}}\\Inputs\\cl-response-file\\" "-D" "FOO=2"