xref: /minix3/external/bsd/llvm/dist/clang/test/Index/remap-load.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: c-index-test -test-load-source all -remap-file="%s,%S/Inputs/remap-load-to.c" %s | FileCheck -check-prefix=CHECK %s
2f4a2713aSLionel Sambuc 
3f4a2713aSLionel Sambuc // CHECK: remap-load.c:1:5: FunctionDecl=foo:1:5 (Definition) Extent=[1:1 - 3:2]
4f4a2713aSLionel Sambuc // CHECK: remap-load.c:1:13: ParmDecl=parm1:1:13 (Definition) Extent=[1:9 - 1:18]
5f4a2713aSLionel Sambuc // CHECK: remap-load.c:1:26: ParmDecl=parm2:1:26 (Definition) Extent=[1:20 - 1:31]
6f4a2713aSLionel Sambuc // CHECK: remap-load.c:2:10: UnexposedExpr= Extent=[2:10 - 2:23]
7f4a2713aSLionel Sambuc // CHECK: remap-load.c:2:10: BinaryOperator= Extent=[2:10 - 2:23]
8f4a2713aSLionel Sambuc // CHECK: remap-load.c:2:10: UnexposedExpr=parm1:1:13 Extent=[2:10 - 2:15]
9f4a2713aSLionel Sambuc // CHECK: remap-load.c:2:10: DeclRefExpr=parm1:1:13 Extent=[2:10 - 2:15]
10f4a2713aSLionel Sambuc // CHECK: remap-load.c:2:18: DeclRefExpr=parm2:1:26 Extent=[2:18 - 2:23]
11