src/internal/types/testdata/fixedbugs/issue59209.go
raw| 1 | // Copyright 2023 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 ( |
| 8 | _ [1 /* ERROR "invalid array length" */ << 100]int |
| 9 | _ [1.0]int |
| 10 | _ [1.1 /* ERROR "must be integer" */ ]int |
| 11 | ) |