aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/testdata/fixedbugs/issue39938.go2
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/testdata/fixedbugs/issue39938.go2')
-rw-r--r--src/go/types/testdata/fixedbugs/issue39938.go24
1 files changed, 2 insertions, 2 deletions
diff --git a/src/go/types/testdata/fixedbugs/issue39938.go2 b/src/go/types/testdata/fixedbugs/issue39938.go2
index 76e7e369ca..0da6e103fd 100644
--- a/src/go/types/testdata/fixedbugs/issue39938.go2
+++ b/src/go/types/testdata/fixedbugs/issue39938.go2
@@ -8,8 +8,8 @@ package p
type E0[P any] P
type E1[P any] *P
-type E2[P any] struct{ P }
-type E3[P any] struct{ *P }
+type E2[P any] struct{ _ P }
+type E3[P any] struct{ _ *P }
type T0 /* ERROR illegal cycle */ struct {
_ E0[T0]