blob: 3fbabed18ac184ba0d5d8b5f2859b271b8331db1 [file]
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package decl
func a() {
var c bool // want `b.*declared (and|but) not used`
panic(c)
if 1 == 1 {
}
}
func b() {
// b is a variable
}
func c() {
var (
d string
)
panic(d)
}