summaryrefslogtreecommitdiffstats
path: root/test/typeparam/issue50259.go
blob: 50edf8f737527a274d3168bd5214d95c5a7b36c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile

// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package p

var x T[B]

type T[_ any] struct{}
type A T[B]
type B = T[A]