...

Text file src/go/parser/testdata/issue49175.go2

Documentation: go/parser/testdata

     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
     5package p
     6
     7type _[_ []t]t
     8type _[_ [1]t]t
     9
    10func _[_ []t]() {}
    11func _[_ [1]t]() {}
    12
    13type t [t /* ERROR "missing type parameter name or invalid array length" */ [0]]t

View as plain text