summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue24761.dir/a.go
blob: 1aa2317bd5b0830d5f7e939ee6df2991f60e1c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2018 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 a

type T2 struct{}

func (t *T2) M2(a, b float64) {
	variadic(a, b)
}

func variadic(points ...float64) {
	println(points)
}