diff options
Diffstat (limited to 'clang/test/Preprocessor/pp-record.c')
-rw-r--r-- | clang/test/Preprocessor/pp-record.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/pp-record.c b/clang/test/Preprocessor/pp-record.c new file mode 100644 index 0000000..f098683 --- /dev/null +++ b/clang/test/Preprocessor/pp-record.c @@ -0,0 +1,12 @@ +// 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; |