Debian Codegraph @

src/go/internal/gcimporter/testdata/g.go

raw
1 // Copyright 2016 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // Input for TestTypeNamingOrder
6
7 // ensures that the order in which "type A B" declarations are
8 // processed is correct; this was a problem for unified IR imports.
9
10 package g
11
12 type Client struct {
13 common service
14 A *AService
15 B *BService
16 }
17
18 type service struct {
19 client *Client
20 }
21
22 type AService service
23 type BService service