clang-1/test/Preprocessor/macro_fn_disable_expand.c

12 строки
173 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)