Sign in
go
/
go
/
e35763469a5a800b7140a632f020bf2659b53e94
/
.
/
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
)