mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
16 lines
234 B
C
16 lines
234 B
C
|
|
#define mymacro1(x) x
|
|
#define mymacro2(x) mymacro1(x)
|
|
|
|
int x = mymacro2(1 + 2);
|
|
|
|
void f(int x) { };
|
|
void g(int x) { };
|
|
#define fgmacro(x) f(x); g(x)
|
|
void fg(int x) {
|
|
fgmacro(x);
|
|
}
|
|
|
|
#define MM(name) extern int name (int)
|
|
MM(foo);
|