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 5package a 6 7type T2 struct{} 8 9func (t *T2) M2(a, b float64) { 10 variadic(a, b) 11} 12 13func variadic(points ...float64) { 14 println(points) 15} 16