Reid Kleckner | e2d0344 | 2015-07-15 22:42:37 +0000 | [diff] [blame^] | 1 | // 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\\" |