Mercurial > hg > CbC > CbC_llvm
view clang/test/Preprocessor/pp-record.c @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// 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;