Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
4872e1014844632083690cc1d021b95218a5023b
/
.
/
test
/
Preprocessor
/
macro_fn_varargs_named.c
blob: b50d53d46d0155608cad9af6ecc5ec1d072056ba [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -E %s | grep '^a: x$'
// RUN: %clang_cc1 -E %s | grep '^b: x y, z,h$'
// RUN: %clang_cc1 -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
)