summaryrefslogtreecommitdiff
path: root/clang/test/Index/preamble-reparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/preamble-reparse.c')
-rw-r--r--clang/test/Index/preamble-reparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Index/preamble-reparse.c b/clang/test/Index/preamble-reparse.c
new file mode 100644
index 0000000..5bd03b3
--- /dev/null
+++ b/clang/test/Index/preamble-reparse.c
@@ -0,0 +1,2 @@
+// RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 local "-remap-file=%S/Inputs/preamble-reparse-1.c;%S/Inputs/preamble-reparse-2.c" %S/Inputs/preamble-reparse-1.c | FileCheck %s
+// CHECK: preamble-reparse-1.c:1:5: VarDecl=x:1:5 Extent=[1:1 - 1:6]