aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/issue47775.dir/b.go
blob: b6d7ba97c59c11efb413b23107569e540db3f952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2021 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 b

type C[T any] struct {
}

func (c *C[T]) reset() {
}

func New[T any]() {
	c := &C[T]{}
	z(c.reset)
}

func z(interface{}) {
}