aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/gcc61254.go
blob: 82e666e5c2980b5dd4d470aedc713424569eb24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile

// Copyright 2014 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.

// PR61254: gccgo failed to compile a slice expression with missing indices.

package main

func main() {
	[][]int{}[:][0][0]++
}