go/test/gen/g024.go2

24 lines
309 B
Plaintext

// compile
// Copyright 2020 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.
// Issue 39672
package p
type S[T any] T
func (r S[T]) M()
func F() {
var x S[int]
_ = x
}
func G[T any](v T)
func F2() {
G(0)
}