go/src/cmd/compile/internal/types2/named_test.go

func BenchmarkNamed(b *testing.B) {}

func mustInstantiate(tb testing.TB, orig Type, targs ...Type) Type {}

// Test that types do not expand infinitely, as in go.dev/issue/52715.
func TestFiniteTypeExpansion(t *testing.T) {}

// TestMethodOrdering is a simple test verifying that the indices of methods of
// a named type remain the same as long as the same source and AddMethod calls
// are presented to the type checker in the same order (go.dev/issue/61298).
func TestMethodOrdering(t *testing.T) {}