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.
13 type parent interface {
21 func (y *yuh) n(f bool) {
22 for i := 0; i < 10; i++ {
27 func a(i1 int, i2 int, i3 int) int { // want "potentially unused parameter: 'i2'"
29 _ = func(z int) int { // want "potentially unused parameter: 'z'"
36 func b(c bytes.Buffer) { // want "potentially unused parameter: 'c'"
40 func z(h http.ResponseWriter, _ *http.Request) { // want "potentially unused parameter: 'h'"
44 func l(h http.Handler) http.Handler {
45 return http.HandlerFunc(z)
48 func mult(a, b int) int { // want "potentially unused parameter: 'b'"