Source file src/internal/types/testdata/fixedbugs/issue71284.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 A
     6  
     7  type (
     8  	_ = A
     9  	A /* ERROR "invalid recursive type: A refers to itself" */ = A
    10  )
    11  

View as plain text