test/fixedbugs/issue24761.dir/a.go
raw| 1 | // Copyright 2018 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 a |
| 6 | |
| 7 | type T2 struct{} |
| 8 | |
| 9 | func (t *T2) M2(a, b float64) { |
| 10 | variadic(a, b) |
| 11 | } |
| 12 | |
| 13 | func variadic(points ...float64) { |
| 14 | println(points) |
| 15 | } |