1// run
2
3// Copyright 2021 The Go Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7package main
8
9import "fmt"
10
11var x any
12var y interface{}
13
14var _ = &x == &y // assert x and y have identical types
15
16func main() {
17	fmt.Printf("%T\n%T\n", &x, &y)
18}
19