blob: 260887469f6ce1c1b8abd7fe94ef237449b3a049 [file] [log] [blame]
Benjamin Kramer7297c182010-01-30 16:23:25 +00001// RUN: c-index-test -test-load-source all -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck -check-prefix=CHECK %s
Douglas Gregor4db64a42010-01-23 00:14:00 +00002
Abramo Bagnaraff676cb2011-03-08 08:55:46 +00003// CHECK: remap-load.c:1:5: FunctionDecl=foo:1:5 (Definition) Extent=[1:1 - 3:2]
Daniel Dunbar8f0bf812010-02-14 08:32:51 +00004// CHECK: remap-load.c:1:13: ParmDecl=parm1:1:13 (Definition) Extent=[1:9 - 1:18]
5// CHECK: remap-load.c:1:26: ParmDecl=parm2:1:26 (Definition) Extent=[1:20 - 1:31]
Daniel Dunbar8f0bf812010-02-14 08:32:51 +00006// CHECK: remap-load.c:2:10: UnexposedExpr= Extent=[2:10 - 2:23]
Douglas Gregor42b29842011-10-05 19:00:14 +00007// CHECK: remap-load.c:2:10: BinaryOperator= Extent=[2:10 - 2:23]
Daniel Dunbar8f0bf812010-02-14 08:32:51 +00008// CHECK: remap-load.c:2:10: UnexposedExpr=parm1:1:13 Extent=[2:10 - 2:15]
9// CHECK: remap-load.c:2:10: DeclRefExpr=parm1:1:13 Extent=[2:10 - 2:15]
10// CHECK: remap-load.c:2:18: DeclRefExpr=parm2:1:26 Extent=[2:18 - 2:23]