summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/bug228a.go
blob: c42b0bffb7d20f1bd8cef1e7ed087f0f7a3fdabc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// errorcheck

// Copyright 2009 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 main

func f(x int, y ...int) // ok

func h(x, y ...int) // ERROR "[.][.][.]"

func i(x int, y ...int, z float32) // ERROR "[.][.][.]"