TinyC upgrade (#6593)
This commit is contained in:
parent
9c00f6decd
commit
d2c7d391c8
395 changed files with 68184 additions and 32394 deletions
14
tinyc/tests/tests2/67_macro_concat.c
Normal file
14
tinyc/tests/tests2/67_macro_concat.c
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue