summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug285.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug285.go')
-rw-r--r--test/fixedbugs/bug285.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/fixedbugs/bug285.go b/test/fixedbugs/bug285.go
index 544d3487e..7eed8fb7a 100644
--- a/test/fixedbugs/bug285.go
+++ b/test/fixedbugs/bug285.go
@@ -45,20 +45,6 @@ func main() {
mp[p] = 42
mp[&T{7}] = 42
- type F func(x int)
- f := func(x int) {}
- mf := make(map[F]int)
- mf[nil] = 42
- mf[f] = 42
- mf[func(x int) {}] = 42
-
- type M map[int]int
- m := make(M)
- mm := make(map[M]int)
- mm[nil] = 42
- mm[m] = 42
- mm[make(M)] = 42
-
type C chan int
c := make(C)
mc := make(map[C]int)