P

U %b test.cc

D test.cc

X test.cc
test.cc:8@7 f  test.cc|26r6
test.cc:1@1 g  test.cc|24r4
test.cc:1@1 f  test.cc|6r12 22r4 23r4
test.cc:1U6*f  End=1t21
test.cc:1i13 i 
test.cc:2U6*f  End=2t23
test.cc:2p15 c 
test.cc:4U6*g  End=6t20 test.cc|6b6
test.cc:5U6*g 
test.cc:8C7*A  End=12e2 test.cc|10p9 11p9 25r4
test.cc:10U9*f  End=10t21 test.cc|10b9
test.cc:11U9*f  End=11t26 test.cc|11b9
test.cc:11?19 x 
test.cc:15g8*B  End=17e2 test.cc|16p9 27r4 27 4
test.cc:14+17 T  test.cc|16r12
test.cc:16u9*h  End=16t27 test.cc|16b9 28r6
test.cc:16+14 x <test.cc:14 17>
test.cc:20V5*main  End=30t2
test.cc:25c6 a <test.cc:8 7> test.cc|26r4
test.cc:27g11 b <test.cc:15 8> test.cc|28r4
test.cc:21p10 c  test.cc|22r7

Testing unresolved overloaded entity from one of its reference
Entity f is overloaded.

Testing unresolved overloaded entity not from a reference
Entity f is overloaded.

Testing unresolved overloaded entity from its body
Ref=test.cc 6 6

Testing unresolved overloaded entity from its declaration
Ref=test.cc 6 6

Testing scope tree for a C file
[T] Scope tree for test.cc.xref 
[T] Part= BODY 
[T] Decl:"g 1 1, decl at 1 1" 
[T] Decl:"f 1 1, decl at 1 1" 
[T] Decl:"f 1 6 -> 1 21, decl at 1 6" 
[T]   Decl:"i 1 13, decl at 1 13" 
[T] Decl:"f 2 6 -> 2 23, decl at 2 6" 
[T]   Decl:"c 2 15, decl at 2 15" 
[T] Decl:"g 5 6, decl at 5 6" 
[T] Decl:"g 6 6 -> 6 20, decl at 4 6" 
[T]   Ref:"f 6 12" 
[T] Decl:"f 8 7, decl at 8 7" 
[T] Decl:"A 8 7 -> 12 2, decl at 8 7" 
[T]   Ref:"A 10 9" 
[T]   Decl:"f 10 9 -> 10 21, decl at 10 9" 
[T]   Ref:"A 11 9" 
[T]   Decl:"f 11 9 -> 11 26, decl at 11 9" 
[T]     Decl:"x 11 19, decl at 11 19" 
[T] Decl:"T 14 17, decl at 14 17" 
[T] Decl:"B 15 8 -> 17 2, decl at 15 8" 
[T]   Ref:"B 16 9" 
[T]   Decl:"h 16 9 -> 16 27, decl at 16 9" 
[T]     Ref:"T 16 12" 
[T]     Decl:"x 16 14, decl at 16 14" 
[T] Decl:"main 20 5 -> 30 2, decl at 20 5" 
[T]   Decl:"c 21 10, decl at 21 10" 
[T]   Ref:"f 22 4" 
[T]   Ref:"c 22 7" 
[T]   Ref:"f 23 4" 
[T]   Ref:"g 24 4" 
[T]   Ref:"A 25 4" 
[T]   Decl:"a 25 6, decl at 25 6" 
[T]   Ref:"a 26 4" 
[T]   Ref:"f 26 6" 
[T]   Ref:"B 27 4" 
[T]   Ref:"B 27 4" 
[T]   Decl:"b 27 11, decl at 27 11" 
[T]   Ref:"b 28 4" 
[T]   Ref:"h 28 6" 
[T] Part= SPEC 

Testing the call graph from a reference to overloaded entity
Entity: g
Entity g is overloaded.

Testing the call graph from a declaration of an overloaded entity
Entity: g
[T] Scope tree for test.cc.xref 
[T] Decl:"g 6 6 -> 6 20, decl at 4 6" 
[T]   Ref:"f 6 12" 

Testing the call graph from a body of an overloaded entity
Entity: g
[T] Scope tree for test.cc.xref 
[T] Decl:"g 6 6 -> 6 20, decl at 4 6" 
[T]   Ref:"f 6 12" 
