summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-response-file.c
blob: 9186c43050d6e720c3cc2ce4ae17664ed18508ce (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: printf '/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