llvm-project/clang/test/Preprocessor/macro_fn_disable_expand.c

12 lines
170 B
C
Raw Normal View History

// RUN: clang %s -E | grep 'bar foo (2)' &&
// RUN: clang %s -E | grep 'm(ABCD)'
2006-07-16 05:06:48 +08:00
#define foo(x) bar x
foo(foo) (2)
#define m(a) a(w)
#define w ABCD
m(m) // m(ABCD)