blob: 02aa2949c33d15d14c5056d6673e3ef1078fe425 [file] [log] [blame]
Ian Lance Taylor6001c042022-07-15 18:41:41 -07001// 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
9package p
10
11var F func() [0]struct{
12 A int
13}
14
15var i int
16var V = (F()[i]).A