Source file test/fixedbugs/issue68526.dir/a/a.go

     1  // Copyright 2024 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 A[T any] = struct{ F T }
     8  
     9  type B = struct{ F int }
    10  
    11  func F() B {
    12  	type a[T any] = struct{ F T }
    13  	return a[int]{}
    14  }
    15  

View as plain text