blob: 473ab96f56d0bb6304d7ba522624edeb2e84ed1e [file] [log] [blame]
// 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
const L = 10
type (
_ [L]struct{}
_ [A /* ERROR "undefined array length A or missing type constraint" */ ]struct{}
_ [B /* ERROR "invalid array length B" */ ]struct{}
_[A any] struct{}
B int
)