Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
0e0caa2b88a19fb208c413ccf03d67147d313357
/
.
/
test
/
Preprocessor
/
macro_fn_preexpand.c
blob: 81a7c417268494346b221899b766557262342f82 [
file
] [
log
] [
blame
]
// RUN: clang %s -E | grep 'pre: 1 1 X' &&
// RUN: clang %s -E | grep 'nopre: 1A(X)'
/* Preexpansion of argument. */
#define
A
(
X
)
1
X
pre
:
A
(
A
(
X
))
/* The ## operator disables preexpansion. */
#undef
A
#define
A
(
X
)
1
## X
nopre
:
A
(
A
(
X
))