Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
9e10cc7a4c1e5b620bf4d5c90d4e452b3ae04c81
/
.
/
test
/
Preprocessor
/
macro_fn_varargs_named.c
blob: c2841b1574b16d38ec420444f14c503cd3f987e5 [
file
] [
log
] [
blame
]
// 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
)