aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/testdata/fixedbugs/issue40056.go2
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/testdata/fixedbugs/issue40056.go2')
-rw-r--r--src/go/types/testdata/fixedbugs/issue40056.go22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/testdata/fixedbugs/issue40056.go2 b/src/go/types/testdata/fixedbugs/issue40056.go2
index f587691e3d..66130c0a55 100644
--- a/src/go/types/testdata/fixedbugs/issue40056.go2
+++ b/src/go/types/testdata/fixedbugs/issue40056.go2
@@ -10,6 +10,6 @@ func _() {
type S struct {}
-func NewS[T any]() *S
+func NewS[T any]() *S { panic(0) }
func (_ *S /* ERROR S is not a generic type */ [T]) M()