3 // Copyright 2021 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
13 type B[T any] interface {
17 func (a *A[T]) Work(t T) {
23 func (b BImpl) Work(s string) {}