summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-response-file.c
blob: 51ee00bff4ed18c26842c0848dfd653e3fc89bf9 (plain)
1
2
3
4
5
6
7
8
9
10
// Test that we use the Windows tokenizer for clang-cl response files. The
// trailing backslash before the space should be interpreted as a literal
// backslash. PR23709



// RUN: echo '/I%S\Inputs\cl-response-file\ /DFOO=2' > %t.rsp
// RUN: %clang_cl /c -### @%t.rsp -- %s 2>&1 | FileCheck %s

// CHECK: "-I" "{{.*}}\\Inputs\\cl-response-file\\" "-D" "FOO=2"
OpenPOWER on IntegriCloud