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

8 lines
148 B
C

// RUN: %clang_cc1 -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) */