repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add new tests for macro nesting
[tinycc.git]
/
tests
/
tests2
/
64_macro_nesting.c
blob
44b582fe057e3bc5719feb19f02763f3609fae56
1
#define CAT2(a,b) a##b
2
#define CAT(a,b) CAT2(a,b)
3
#define AB(x) CAT(x,y)
4
5
int
main
(
void
)
6
{
7
int
xy
=
42
;
8
printf
(
"%d
\n
"
,
CAT
(
A
,
B
)(
x
));
9
return
0
;
10
}