Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Preprocessor / pp-record.c
blob48000edd734b49db008782c727a20c9b5a8f50f5
1 // RUN: %clang_cc1 -fsyntax-only -detailed-preprocessing-record %s
3 // http://llvm.org/PR11120
5 #define STRINGIZE(text) STRINGIZE_I(text)
6 #define STRINGIZE_I(text) #text
8 #define INC pp-record.h
10 #include STRINGIZE(INC)
12 CAKE;
14 #define DIR 1
15 #define FNM(x) x
17 FNM(
18 #if DIR
19 int a;
20 #else
21 int b;
22 #endif
25 #define M1 c
26 #define M2 int
27 #define FM2(x,y) y x
28 FM2(M1, M2);
30 #define FM3(x) x
31 FM3(
32 #define M3 int x2
34 M3;