aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue65893.go
blob: 6f015feaed515382c0a8ba043633992c81938458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// compile

// Copyright 2024 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 (
	s  = struct{ f func(s1) }
	s1 = struct{ i I }
)

type I interface {
	S() *s
}