1// run
2
3// Copyright 2022 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
9var c = b
10var d = a
11
12var a, b any = any(nil).(bool)
13
14func main() {
15	if c != false {
16		panic(c)
17	}
18	if d != false {
19		panic(d)
20	}
21}
22