summaryrefslogtreecommitdiff
path: root/clang/test/Index/preamble-reparse-cmd-define.c.remap
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/preamble-reparse-cmd-define.c.remap')
-rw-r--r--clang/test/Index/preamble-reparse-cmd-define.c.remap8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Index/preamble-reparse-cmd-define.c.remap b/clang/test/Index/preamble-reparse-cmd-define.c.remap
new file mode 100644
index 0000000..35c140d
--- /dev/null
+++ b/clang/test/Index/preamble-reparse-cmd-define.c.remap
@@ -0,0 +1,8 @@
+
+#ifndef CMD_MACRO
+#error CMD_MACRO undefined
+#endif
+
+int foo() {
+ return x;
+}