mirror of
https://github.com/golang/go
synced 2024-11-23 15:40:06 -07:00
6001c043dc
For #23870 Change-Id: I3bbe0f751254d1354a59a88b45e6f944c7a2fb4d Reviewed-on: https://go-review.googlesource.com/c/go/+/417874 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
17 lines
265 B
Go
17 lines
265 B
Go
// compile
|
|
|
|
// Copyright 2022 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.
|
|
|
|
// Crashed gccgo.
|
|
|
|
package p
|
|
|
|
var F func() [0]struct{
|
|
A int
|
|
}
|
|
|
|
var i int
|
|
var V = (F()[i]).A
|