Debian Codegraph @

clang/test/Preprocessor/macro_rescan2.c

raw
1 // RUN: %clang_cc1 %s -E | grep 'a: 2\*f(9)'
2 // RUN: %clang_cc1 %s -E | grep 'b: 2\*9\*g'
3
4 #define f(a) a*g
5 #define g f
6 a: f(2)(9)
7
8 #undef f
9 #undef g
10
11 #define f(a) a*g
12 #define g(a) f(a)
13
14 b: f(2)(9)
15