☰
Debian Codegraph
@
2026.2.1-1
2026.1-4
2026.1-3
/
/
go
/
ir
/
testdata
/
fixedbugs
/
issue73871.go
☽
☼
go/ir/testdata/fixedbugs/issue73871.go
code
plain
raw
BSD-3-clause
2013-2019 The Go Authors
debian/copyright
1
package issue73871
2
3
// Regression test for panic instantiating signature for a call append(x, y...).
4
5
func f[T ~[]byte](y T) {
6
_ = append([]byte(nil), y...)
7
}
8
9
func _() {
10
type B []byte
11
f(B(nil)) // must not panic
12
}