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