summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue40252.dir/a.go
blob: 5519e9331aa0c6103444bfe8f30d03df07e5a134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2020 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 a

type I interface {
	Func()
}

func Call() {
	f := I.Func
	f(nil)
}