summaryrefslogtreecommitdiff
path: root/clang/test/Index/remap-cursor-at.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/remap-cursor-at.c')
-rw-r--r--clang/test/Index/remap-cursor-at.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Index/remap-cursor-at.c b/clang/test/Index/remap-cursor-at.c
new file mode 100644
index 0000000..c2bed0e
--- /dev/null
+++ b/clang/test/Index/remap-cursor-at.c
@@ -0,0 +1,4 @@
+// RUN: c-index-test -cursor-at=%s:1:15 -cursor-at=%s:2:21 -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck %s
+
+// CHECK: ParmDecl=parm1:1:13 (Definition)
+// CHECK: DeclRefExpr=parm2:1:26