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