aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types2/testdata/fixedbugs/issue43527.go2
blob: e4bcee51fe5f90420af7c385a53e748f485a4edc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 undeclared name A for array length */ ]struct{}
	_        [B /* ERROR not an expression */ ]struct{}
	_[A any] struct{}

	B int
)