Clang Project

clang_source_code/test/Preprocessor/macro_rescan2.c
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 
6a: f(2)(9) 
7
8#undef f
9#undef g
10
11#define f(a) a*g 
12#define g(a) f(a) 
13
14b: f(2)(9)
15
16