Update to go1.25.0
This commit is contained in:
18
test/fixedbugs/issue73309.go
Normal file
18
test/fixedbugs/issue73309.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// compile
|
||||
|
||||
// Copyright 2025 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.
|
||||
|
||||
package main
|
||||
|
||||
type B[T any] struct {
|
||||
a A[T]
|
||||
}
|
||||
|
||||
type A[T any] = func(B[T]) bool
|
||||
|
||||
func main() {
|
||||
var s A[int]
|
||||
println(s)
|
||||
}
|
||||
Reference in New Issue
Block a user