Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / cmd / guru / testdata / src / pointsto / main.golden
1 -------- @pointsto const --------
2
3 Error: pointer analysis wants an expression of reference type; got untyped float
4 -------- @pointsto func-ref-main --------
5 this func() may point to these objects:
6         pointsto.main
7
8 -------- @pointsto func-ref-*C.f --------
9 this func() may point to these objects:
10         (*pointsto.C).f
11
12 -------- @pointsto func-ref-D.f --------
13 this func() may point to these objects:
14         (pointsto.D).f
15
16 -------- @pointsto func-ref-I.f --------
17
18 Error: func (pointsto.I).f() is an interface method
19 -------- @pointsto func-ref-d.f --------
20 this func() may point to these objects:
21         (pointsto.D).f
22
23 -------- @pointsto func-ref-i.f --------
24
25 Error: func (pointsto.I).f() is an interface method
26 -------- @pointsto ref-lexical-d.f --------
27 this func() may point to these objects:
28         (pointsto.D).f
29
30 -------- @pointsto ref-anon --------
31 this func() may point to these objects:
32         pointsto.main$1
33
34 -------- @pointsto ref-global --------
35 this *string may point to these objects:
36         new
37
38 -------- @pointsto var-def-x-1 --------
39 this *int may point to these objects:
40         a
41
42 -------- @pointsto var-ref-x-1 --------
43 this *int may point to these objects:
44         a
45
46 -------- @pointsto var-def-x-2 --------
47 this *int may point to these objects:
48         b
49
50 -------- @pointsto var-ref-x-2 --------
51 this *int may point to these objects:
52         b
53
54 -------- @pointsto var-ref-i-C --------
55 this I may contain these dynamic types:
56         *C, may point to:
57                 new
58
59 -------- @pointsto var-ref-i-D --------
60 this I may contain these dynamic types:
61         D
62
63 -------- @pointsto var-ref-i --------
64 this I may contain these dynamic types:
65         *C, may point to:
66                 new
67         D
68
69 -------- @pointsto map-lookup,ok --------
70
71 Error: pointer analysis wants an expression of reference type; got (*int, bool)
72 -------- @pointsto mapval --------
73 this *int may point to these objects:
74         a
75
76 -------- @pointsto m --------
77 this map[string]*int may point to these objects:
78         makemap
79
80 -------- @pointsto builtin-panic --------
81
82 Error: pointer analysis wants an expression of reference type; got ()
83 -------- @pointsto var-ref-s-f --------
84 this interface{} may contain these dynamic types:
85         chan bool, may point to:
86                 makechan
87
88 -------- @pointsto func-live --------
89
90 Error: pointer analysis did not find expression (dead code?)
91 -------- @pointsto func-dead --------
92
93 Error: pointer analysis did not find expression (dead code?)
94 -------- @pointsto b --------
95
96 Error: pointer analysis did not find expression (dead code?)