YouCompleteMe/cpp/llvm/tools/clang/test/Preprocessor/macro_rescan2.c
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

16 lines
204 B
C

// RUN: %clang_cc1 %s -E | grep 'a: 2\*f(9)'
// RUN: %clang_cc1 %s -E | grep 'b: 2\*9\*g'
#define f(a) a*g
#define g f
a: f(2)(9)
#undef f
#undef g
#define f(a) a*g
#define g(a) f(a)
b: f(2)(9)