aboutsummaryrefslogtreecommitdiff
path: root/src/go/internal/gcimporter/testdata/g.go
blob: 301c1429e6c45dea8a09ad4566cd03e5b61aed65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Input for TestTypeNamingOrder

// ensures that the order in which "type A B" declarations are
// processed is correct; this was a problem for unified IR imports.

package g

type Client struct {
	common service
	A      *AService
	B      *BService
}

type service struct {
	client *Client
}

type AService service
type BService service