blob: 32c0ef475c5e1c77e55d2cca32838b9e1632bffb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
* f(2) will expand to 2*g, which will expand to 2*f, and in this
* moment f will not be expanded because the macro definition is
* a function alike macro, and in this case there is no arguments.
*/
#define f(a) a*g
#define g f
int
main(void)
{
int f = 0;
return f(2);
}
|