aboutsummaryrefslogtreecommitdiff
path: root/test/CodeCompletion/Inputs/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeCompletion/Inputs/macros.h')
-rw-r--r--test/CodeCompletion/Inputs/macros.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeCompletion/Inputs/macros.h b/test/CodeCompletion/Inputs/macros.h
index 98b5ac6510a1..5f15dfc2be35 100644
--- a/test/CodeCompletion/Inputs/macros.h
+++ b/test/CodeCompletion/Inputs/macros.h
@@ -2,3 +2,10 @@
#define BAR(X, Y) X, Y
#define IDENTITY(X) X
#define WIBBLE(...)
+#define DEAD_MACRO
+#undef DEAD_MACRO
+#define MACRO_WITH_HISTORY a
+#undef MACRO_WITH_HISTORY
+#define MACRO_WITH_HISTORY b, c
+#undef MACRO_WITH_HISTORY
+#define MACRO_WITH_HISTORY(X, Y) X->Y