1
0
mirror of https://github.com/golang/go synced 2024-07-08 12:18:55 +00:00

test: extend issue52124.go to also test #52139

Change-Id: I7da79d52d50d96536a8175ba08e9da551d07fadd
Reviewed-on: https://go-review.googlesource.com/c/go/+/398094
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Matthew Dempsky 2022-04-04 11:40:44 -07:00
parent c0bbeb0982
commit 79619c3c7e

View File

@ -7,3 +7,9 @@
package p
type I interface{ any | int }
var (
X I = 42
Y I = "xxx"
Z I = true
)