summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/gcc61258.go
blob: e4dcb3376ab63b29358ab1ddcfc01d3d31f11101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run

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

// PR61258: gccgo crashed when deleting a zero-sized key from a map.

package main

func main() {
	delete(make(map[[0]bool]int), [0]bool{})
}