repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tcc
/
67_macro_concat.c
blob
c580d3a6445aa05a3352ddcb6b3dde1d1c4e704c
1
#include <stdio.h>
2
3
#define P(A,B) A ## B ; bob
4
#define Q(A,B) A ## B+
5
6
int
main
(
void
)
7
{
8
int
bob
,
jim
=
21
;
9
bob
=
P
(
jim
,) *=
2
;
10
printf
(
"jim: %d, bob: %d
\n
"
,
jim
,
bob
);
11
jim
=
60
Q
(+,)
3
;
12
printf
(
"jim: %d
\n
"
,
jim
);
13
return
0
;
14
}