Ian Lance Taylor | 6001c04 | 2022-07-15 18:41:41 -0700 | [diff] [blame] | 1 | // compile |
2 | |||||
3 | // Copyright 2022 The Go Authors. All rights reserved. | ||||
4 | // Use of this source code is governed by a BSD-style | ||||
5 | // license that can be found in the LICENSE file. | ||||
6 | |||||
7 | // Crashed gccgo. | ||||
8 | |||||
9 | package p | ||||
10 | |||||
11 | var F func() [0]struct{ | ||||
12 | A int | ||||
13 | } | ||||
14 | |||||
15 | var i int | ||||
16 | var V = (F()[i]).A |