1 // Copyright 2020 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
9 z = y // want "undeclared name: y"
11 if z == m { // want "undeclared name: m"
17 } else if z == n+1 { // want "undeclared name: n"
24 case a: // want "undeclared name: a"