xref: /llvm-project/clang/test/Driver/at_file_win.c (revision 47bf50577511f3a5c8a1efb4142cc3a3082b62b3)
1*47bf5057SNico Weber // RUN: %clang --rsp-quoting=windows -E %s @%s.args -o %t.log
2*47bf5057SNico Weber // RUN: FileCheck --input-file=%t.log %s
3*47bf5057SNico Weber 
4*47bf5057SNico Weber // CHECK: bar1
5*47bf5057SNico Weber // CHECK-NEXT: bar2 zed2
6*47bf5057SNico Weber // CHECK-NEXT: bar3 zed3
7*47bf5057SNico Weber // CHECK-NEXT: bar4 zed4
8*47bf5057SNico Weber // CHECK-NEXT: bar5 zed5
9*47bf5057SNico Weber // CHECK-NEXT: 'bar6 zed6'
10*47bf5057SNico Weber // CHECK-NEXT: 'bar7 zed7'
11*47bf5057SNico Weber // CHECK-NEXT: foo8bar8zed8
12*47bf5057SNico Weber // CHECK-NEXT: foo9\'bar9\'zed9
13*47bf5057SNico Weber // CHECK-NEXT: foo10"bar10"zed10
14*47bf5057SNico Weber // CHECK: bar
15*47bf5057SNico Weber // CHECK: zed12
16*47bf5057SNico Weber // CHECK: one\two
17*47bf5057SNico Weber // CHECK: c:\foo\bar.c
18*47bf5057SNico Weber 
19*47bf5057SNico Weber foo1
20*47bf5057SNico Weber foo2
21*47bf5057SNico Weber foo3
22*47bf5057SNico Weber foo4
23*47bf5057SNico Weber foo5
24*47bf5057SNico Weber foo6
25*47bf5057SNico Weber foo7
26*47bf5057SNico Weber foo8
27*47bf5057SNico Weber foo9
28*47bf5057SNico Weber foo10
29*47bf5057SNico Weber #ifdef foo11
30*47bf5057SNico Weber bar
31*47bf5057SNico Weber #endif
32*47bf5057SNico Weber foo12
33*47bf5057SNico Weber foo13
34*47bf5057SNico Weber foo14
35