diff --git a/src/go/types/fixedbugs/issue39634.go2 b/src/go/types/fixedbugs/issue39634.go2 index b4f6cbed80..0de085ee06 100644 --- a/src/go/types/fixedbugs/issue39634.go2 +++ b/src/go/types/fixedbugs/issue39634.go2 @@ -30,6 +30,10 @@ type foo8(type A) interface { type A } func bar8(type A foo8(A))(a A) {} func main8() {} +// crash 9 +type foo9(type A) interface { type foo9(A) } +func _() { var _ = new(foo9(int)) } + // crash 12 var u /* ERROR cycle */ , i [func /* ERROR used as value */ /* ERROR used as value */ (u, c /* ERROR undeclared */ /* ERROR undeclared */ ) {}(0, len)]c /* ERROR undeclared */ /* ERROR undeclared */