mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +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:
parent
c0bbeb0982
commit
79619c3c7e
|
@ -7,3 +7,9 @@
|
||||||
package p
|
package p
|
||||||
|
|
||||||
type I interface{ any | int }
|
type I interface{ any | int }
|
||||||
|
|
||||||
|
var (
|
||||||
|
X I = 42
|
||||||
|
Y I = "xxx"
|
||||||
|
Z I = true
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue