// 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
)
#define M1 c
#define M2 int
#define FM2(x,y) y x
FM2(M1, M2);
#define FM3(x) x
FM3(
#define M3 int x2
)
M3;