1// Copyright 2022 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 pkgdoc
6
7import (
8	crand "crypto/rand"
9	"math/rand"
10)
11
12type T int
13
14type U int
15
16func (T) M() {}
17
18var _ = rand.Int
19var _ = crand.Reader
20
21type G[T any] struct{ x T }
22
23func (g G[T]) M1() {}
24func (g *G[T]) M2() {}
25