Sign in
llvm
/
clang
/
3ad9e4889adcb044907bc3e707d89a7ac1b3ee30
/
.
/
test
/
Preprocessor
/
macro_fn_preexpand.c
blob: a392263aef43911d6973084096d96bfad074b486 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -E | grep 'pre: 1 1 X' &&
// RUN: clang-cc %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
))