OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgo/] [go/] [go/] [doc/] [testdata/] [e.0.golden] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 747 jeremybenn
// The package e is a go/doc test for embedded methods.
2
PACKAGE e
3
 
4
IMPORTPATH
5
        testdata/e
6
 
7
FILENAMES
8
        testdata/e.go
9
 
10
TYPES
11
        // T1 has no embedded (level 1) M method due to conflict.
12
        type T1 struct {
13
                // contains filtered or unexported fields
14
        }
15
 
16
        // T2 has only M as top-level method.
17
        type T2 struct {
18
                // contains filtered or unexported fields
19
        }
20
 
21
        // T2.M should appear as method of T2.
22
        func (T2) M()
23
 
24
        // T3 has only M as top-level method.
25
        type T3 struct {
26
                // contains filtered or unexported fields
27
        }
28
 
29
        // T3.M should appear as method of T3.
30
        func (T3) M()
31
 
32
        //
33
        type T4 struct{}
34
 
35
        // T4.M should appear as method of T5 only if AllMethods is set.
36
        func (*T4) M()
37
 
38
        //
39
        type T5 struct {
40
                T4
41
        }
42
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.