1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
420 B

// 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;