Text file src/go/parser/testdata/issue49175.go2
1 // Copyright 2021 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 p 6 7 type _[_ []t]t 8 type _[_ [1]t]t 9 10 func _[_ []t]() {} 11 func _[_ [1]t]() {} 12 13 type t [t /* ERROR "missing type parameter name or invalid array length" */ [0]]t 14