Initial commit: Go 1.23 release state
This commit is contained in:
6
test/fixedbugs/issue47317.dir/a.s
Normal file
6
test/fixedbugs/issue47317.dir/a.s
Normal file
@@ -0,0 +1,6 @@
|
||||
// Copyright 2021 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.
|
||||
|
||||
TEXT ·G(SB),4,$0
|
||||
RET
|
||||
17
test/fixedbugs/issue47317.dir/x.go
Normal file
17
test/fixedbugs/issue47317.dir/x.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2021 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.
|
||||
|
||||
// Issue 47317: ICE when calling ABI0 function via func value.
|
||||
|
||||
package main
|
||||
|
||||
func main() { F() }
|
||||
|
||||
func F() interface{} {
|
||||
g := G
|
||||
g(1)
|
||||
return G
|
||||
}
|
||||
|
||||
func G(x int) [2]int
|
||||
Reference in New Issue
Block a user