llvm-project/clang/test/Preprocessor/pp-record.c

24 lines
310 B
C

// RUN: %clang_cc1 -fsyntax-only -detailed-preprocessing-record %s
// http://llvm.org/PR11120
#define STRINGIZE(text) STRINGIZE_I(text)
#define STRINGIZE_I(text) #text
#define INC pp-record.h
#include STRINGIZE(INC)
CAKE;
#define DIR 1
#define FNM(x) x
FNM(
#if DIR
int a;
#else
int b;
#endif
)