Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b75009c53084f97a8e295164c07d1007e66ccefa
/
.
/
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);{{$}}