Debian Codegraph @

test/fixedbugs/issue73309.go

raw
1 // compile
2
3 // Copyright 2025 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package main
8
9 type B[T any] struct {
10 a A[T]
11 }
12
13 type A[T any] = func(B[T]) bool
14
15 func main() {
16 var s A[int]
17 println(s)
18 }