blob: 83b5542144d8cc6d57eadbec8027a4d093cab23b [file] [log] [blame]
Dan Willemsencc753b72021-08-31 13:25:42 -07001// 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// Issue 47317: ICE when calling ABI0 function via func value.
6
7package main
8
9func main() { F() }
10
11func F() interface{} {
12 g := G
13 g(1)
14 return G
15}
16
17func G(x int) [2]int