Debian Codegraph @

internal/gcimporter/testdata/issue57015.go

raw
1 // Copyright 2022 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 issue57015
6
7 type E error
8
9 type X[T any] struct {}
10
11 func F() X[interface {
12 E
13 }] {
14 panic(0)
15 }
16