1// compile
2
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.
6
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.
10
11package p
12
13var a = [1][0]int{B}[0]
14var B = [0]int{}
15var c = [1]struct{}{D}[0]
16var D = struct{}{}
17