summaryrefslogtreecommitdiffstats
path: root/src/go/parser/testdata/issue49175.go2
blob: cf1c83c63398eac7462e12db2bd9543cb21d9811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2021 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

type _[_ []t]t
type _[_ [1]t]t

func _[_ []t]() {}
func _[_ [1]t]() {}

type t [t /* ERROR "type parameters must be named" */ [0]]t