blob: 3e80d3c7a910b47c8bb9b1ba6050ec8a767341c0 [file] [log] [blame]
// compile -G=3
// 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 p
type Foo[T any] struct {
Val T
func (f Foo[T]) Bat() {}
type Bar struct {
func foo() {
var b Bar