3 // Copyright 2014 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.
7 // PR61265: The gccgo middle-end failed to represent array composite literals
8 // where the elements are zero-sized values.
9 // This is a reduction of a program reported by GoSmith.
13 var a = [1][0]int{B}[0]
15 var c = [1]struct{}{D}[0]