3 // Copyright 2015 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.
7 // Issue 11750: mkdotargslice: typecheck failed
12 fn := func(names string) {
15 func(names ...string) {
16 for _, name := range names {