aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/analysis/undeclaredname/testdata/src/a/consecutive_params.go
blob: 73beace102cc1cdd350ad760171a3854dce198cd (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2021 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 undeclared

func consecutiveParams() {
	var s string
	undefinedConsecutiveParams(s, s) // want "(undeclared name|undefined): undefinedConsecutiveParams"
}