Source file test/fixedbugs/issue48088.dir/a.go
1 // Copyright 2021 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 package a 6 7 type T1 struct { 8 *T2 9 } 10 11 type T2 struct { 12 } 13 14 func (t2 *T2) M() { 15 } 16 17 func F() { 18 f(T1.M) 19 } 20 21 func f(f func(T1)) { 22 } 23