1 // RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
2 
3 #define A(b) -#b  ,  - #b  ,  -# b  ,  - # b
4 A()
5 
6 // CHECK: {{^}}-"" , - "" , -"" , - ""{{$}}
7 
8 
9 #define t(x) #x
10 t(a
11 c)
12 
13 // CHECK: {{^}}"a c"{{$}}
14 
15 #define str(x) #x
16 #define f(x) str(-x)
17 f(
18     1)
19 
20 // CHECK: {{^}}"-1"
21 
22 #define paste(a,b) str(a<b##ld)
23 paste(hello1, wor)
24 paste(hello2,
25       wor)
26 paste(hello3,
27 wor)
28 
29 // CHECK: {{^}}"hello1<world"
30 // CHECK: {{^}}"hello2<world"
31 // CHECK: {{^}}"hello3<world"
32