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

8 lines
146 B
C
Raw Normal View History

// RUN: clang-cc -E %s | grep 'FUNC (3 +1);'
#define F(a) a
#define FUNC(a) (a+1)
F(FUNC) FUNC (3); /* final token sequence is FUNC(3+1) */