Source file src/internal/types/testdata/fixedbugs/issue75194.go
1 // Copyright 2025 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 5 package p 6 7 type A /* ERROR "invalid recursive type: A refers to itself" */ struct { 8 a A 9 } 10 11 type B /* ERROR "invalid recursive type: B refers to itself" */ struct { 12 a A 13 b B 14 } 15