libgo: update to Go 1.11
[official-gcc.git] / libgo / go / go / doc / testdata / b.2.golden
blob9d93392eaa59331c2943c8731df1802db6c9cde5
1 // 
2 PACKAGE b
4 IMPORTPATH
5         testdata/b
7 IMPORTS
8         a
10 FILENAMES
11         testdata/b.go
13 CONSTANTS
14         // 
15         const (
16                 C1      notExported     = iota
17                 C2
18         
19                 C4
20                 C5
21         )
23         // 
24         const C notExported = 0
26         // 
27         const Pi = 3.14 // Pi
30 VARIABLES
31         // 
32         var (
33                 U1, U2, U4, U5  notExported
34         
35                 U7      notExported     = 7
36         )
38         // 
39         var MaxInt int  // MaxInt
41         // 
42         var V notExported
44         // 
45         var V1, V2, V4, V5 notExported
48 FUNCTIONS
49         // 
50         func F(x int) int
52         // 
53         func F1() notExported
55         // Always under the package functions list. 
56         func NotAFactory() int
58         // Associated with uint type if AllDecls is set. 
59         func UintFactory() uint
62 TYPES
63         // 
64         type T struct{} // T
66         // 
67         var V T // v
69         // 
70         func (x *T) M()