Files
llvm-project/clang/test/Preprocessor/macro_disable4.c
Chris Lattner 9fcdc52243 Fix PR1820, an incredibly subtle macro expansion bug that Neil discovered.
Neil, please review this fix.

llvm-svn: 44285
2007-11-23 06:50:21 +00:00

7 lines
112 B
C

// RUN: clang -P -E %s | grep 'int f(void)'
// PR1820
#define f(x) h(x
#define h(x) x(void)
extern int f(f));