TinyC upgrade (#6593)
This commit is contained in:
parent
9c00f6decd
commit
d2c7d391c8
395 changed files with 68184 additions and 32394 deletions
12
tinyc/tests/tests2/64_macro_nesting.c
Normal file
12
tinyc/tests/tests2/64_macro_nesting.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include <stdio.h> // printf()
|
||||
|
||||
#define CAT2(a,b) a##b
|
||||
#define CAT(a,b) CAT2(a,b)
|
||||
#define AB(x) CAT(x,y)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
int xy = 42;
|
||||
printf("%d\n", CAT(A,B)(x));
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue