src/cmd/compile/internal/syntax/testdata/issue43674.go
raw| 1 | // Copyright 2021 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. |
| 4 | |
| 5 | package p |
| 6 | |
| 7 | func _(... /* ERROR [.][.][.] is missing type */ ) |
| 8 | func _(... /* ERROR [.][.][.] is missing type */ , int) |
| 9 | |
| 10 | func _(a, b ... /* ERROR [.][.][.] is missing type */ ) |
| 11 | func _(a, b ... /* ERROR [.][.][.] is missing type */ , x int) |
| 12 | |
| 13 | func _()(... /* ERROR [.][.][.] is missing type */ ) |