4 // Copyright 2021 The Go Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style
6 // license that can be found in the LICENSE file.
16 type B struct{ x byte }
17 type I interface{ M() *B }
19 func (p *B) M() *B { return p }
27 got, want := i.M(), &a.B
29 println(got, "!=", want)