]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/Lexer/counter.c
1 // __COUNTER__ support: rdar://4329310
2 // RUN: %clang -E %s > %t
4 #define PASTE2(x,y) x##y
5 #define PASTE1(x,y) PASTE2(x,y)
6 #define UNIQUE(x) PASTE1(x,__COUNTER__)
11 // RUN: grep "B: foo1" %t
13 // RUN: grep "C: foo2" %t
15 // RUN: grep "D: 3" %t