summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/gcc61264.go
blob: a4092f5bec31350d004553804609c72c2cef4ef1 (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.

// PR61264: IncDec statements involving composite literals caused in ICE in gccgo.

package main

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