summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/macros_top.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/macros_top.h')
-rw-r--r--clang/test/Modules/Inputs/macros_top.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/macros_top.h b/clang/test/Modules/Inputs/macros_top.h
index dd303ffee4e..2955471a8fa 100644
--- a/clang/test/Modules/Inputs/macros_top.h
+++ b/clang/test/Modules/Inputs/macros_top.h
@@ -14,3 +14,9 @@
#define TOP_RIGHT_UNDEF int
+#define TOP_OTHER_UNDEF1 42
+#undef TOP_OTHER_UNDEF2
+#define TOP_OTHER_REDEF1 1
+#define TOP_OTHER_REDEF2 2
+
+#define TOP_OTHER_DEF_RIGHT_UNDEF void
OpenPOWER on IntegriCloud