Sign in
go
/
go
/
be1d7388b349e86bc2fc1b8769902875e732918f
/
.
/
test
/
typeparam
/
issue52124.go
blob: a113fc74441f118c512b82f37dd61d4720816a76 [
file
] [
log
] [
blame
]
// compile
// Copyright 2022 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 p
type I interface{ any | int }
var (
X I = 42
Y I = "xxx"
Z I = true
)