libgo: update to Go 1.11
[official-gcc.git] / libgo / go / go / doc / testdata / b.1.golden
blob66c47b5c2a7175d853cd5f9293b3563a9d91eef7
1 // 
2 PACKAGE b
4 IMPORTPATH
5         testdata/b
7 IMPORTS
8         a
10 FILENAMES
11         testdata/b.go
13 CONSTANTS
14         // 
15         const Pi = 3.14 // Pi
18 VARIABLES
19         // 
20         var MaxInt int  // MaxInt
23 FUNCTIONS
24         // 
25         func F(x int) int
27         // Always under the package functions list. 
28         func NotAFactory() int
31 TYPES
32         // 
33         type T struct{} // T
35         // 
36         var V T // v
38         // 
39         func (x *T) M()
41         // 
42         type notExported int
44         // 
45         const (
46                 C1      notExported     = iota
47                 C2
48                 c3
49                 C4
50                 C5
51         )
53         // 
54         const C notExported = 0
56         // 
57         var (
58                 U1, U2, u3, U4, U5      notExported
59                 u6                      notExported
60                 U7                      notExported     = 7
61         )
63         // 
64         var V notExported
66         // 
67         var V1, V2, v3, V4, V5 notExported
69         // 
70         func F1() notExported
72         // 
73         func f2() notExported
75         // Should only appear if AllDecls is set. 
76         type uint struct{}      // overrides a predeclared type uint
78         // Associated with uint type if AllDecls is set. 
79         func UintFactory() uint
81         // Associated with uint type if AllDecls is set. 
82         func uintFactory() uint