Debian Codegraph @

internal/gcimporter/testdata/aliases/a/a.go

raw
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] = *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 }