tinycc/tests/tests2/67_macro_concat.c

15 lines
247 B
C
Raw Normal View History

2014-04-12 08:00:13 +04:00
#include <stdio.h>
#define P(A,B) A ## B ; bob
#define Q(A,B) A ## B+
int main(void)
{
int bob, jim = 21;
bob = P(jim,) *= 2;
printf("jim: %d, bob: %d\n", jim, bob);
jim = 60 Q(+,)3;
printf("jim: %d\n", jim);
return 0;
}