[flang] Add UNSIGNED (#113504)
[llvm-project.git] / clang / test / Preprocessor / macro_paste_hard.c
blobfad84264d7f1147d990721657b01dc65f0a16995
1 // RUN: %clang_cc1 -E %s | grep '1: aaab 2'
2 // RUN: %clang_cc1 -E %s | grep '2: 2 baaa'
3 // RUN: %clang_cc1 -E %s | grep '3: 2 xx'
5 #define a(n) aaa ## n
6 #define b 2
7 1: a(b b) // aaab 2 2 gets expanded, not b.
9 #undef a
10 #undef b
11 #define a(n) n ## aaa
12 #define b 2
13 2: a(b b) // 2 baaa 2 gets expanded, not b.
15 #define baaa xx
16 3: a(b b) // 2 xx