1
0
mirror of https://github.com/golang/go synced 2024-11-06 12:36:22 -07:00
go/test/fixedbugs/issue23870.go

17 lines
265 B
Go
Raw Normal View History

// 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