mirror of
https://github.com/frida/tinycc
synced 2024-11-28 18:43:07 +03:00
b5f88b593a
A non declared function leads to a seriuos problems. And while gcc don't turn this warning on lets tcc do it. This warning can be turned off by -Wno-implicit-function-declaration option. And autor must explicitly do this if program must be compiled with this warning off.
13 lines
183 B
C
13 lines
183 B
C
#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;
|
|
}
|