mirror of
https://github.com/golang/go
synced 2024-11-13 19:30:22 -07:00
9ecc3ee252
For #18130. Fixes #18640. Change-Id: I26cf1d1b78cca6ef207cc4333f30a9011ef347c9 Reviewed-on: https://go-review.googlesource.com/35831 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
27 lines
290 B
Go
27 lines
290 B
Go
// compile
|
|
|
|
// Copyright 2017 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.
|
|
|
|
package p
|
|
|
|
type (
|
|
a = b
|
|
b struct {
|
|
*a
|
|
}
|
|
|
|
c struct {
|
|
*d
|
|
}
|
|
d = c
|
|
|
|
e = f
|
|
f = g
|
|
g = []h
|
|
h i
|
|
i = j
|
|
j = e
|
|
)
|