Sign in
ara-mdk
/
platform
/
external
/
clang
/
2cd889d6d97db0cf73930873871aa4a542e84b89
/
.
/
test
/
Preprocessor
/
macro_rescan.c
blob: 83a1975b4e5f5b6112272214283a56a0c4304712 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
#define
M1
(
a
)
(
a
+
1
)
#define
M2
(
b
)
b
int
ei_1
=
M2
(
M1
)(
17
);
// CHECK: {{^}}int ei_1 = (17 +1);{{$}}
int
ei_2
=
(
M2
(
M1
))(
17
);
// CHECK: {{^}}int ei_2 = (M1)(17);{{$}}