blob: 94770a241d2f7bfbe0d5bfc4a841788764206480 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// RUN: clang-cc -E %s | grep '^a: x$'
// RUN: clang-cc -E %s | grep '^b: x y, z,h$'
// RUN: clang-cc -E %s | grep '^c: foo(x)$'
#define A(b, c...) b c
a: A(x)
b: A(x, y, z,h)
#define B(b, c...) foo(b, ## c)
c: B(x)
|