summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/macros_top_b.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/macros_top_b.h')
-rw-r--r--clang/test/Modules/Inputs/macros_top_b.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/macros_top_b.h b/clang/test/Modules/Inputs/macros_top_b.h
new file mode 100644
index 00000000000..cfee17cb587
--- /dev/null
+++ b/clang/test/Modules/Inputs/macros_top_b.h
@@ -0,0 +1,5 @@
+#include "macros_top.h"
+#undef TOP_REDEF_IN_SUBMODULES
+#define TOP_REDEF_IN_SUBMODULES 1
+#undef TOP_REDEF_IN_SUBMODULES
+#define TOP_REDEF_IN_SUBMODULES 2
OpenPOWER on IntegriCloud