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

12 lines
176 B
C

// RUN: clang-cc %s -E | grep 'bar foo (2)' &&
// RUN: clang-cc %s -E | grep 'm(ABCD)'
#define foo(x) bar x
foo(foo) (2)
#define m(a) a(w)
#define w ABCD
m(m) // m(ABCD)