| // $G $D/$F.go && $L $F.$A && ./$A.out |
| // Copyright 2010 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. |
| var m map[complex128]complex128 |
| for i := 0; i < len(a); i++ { |
| a[i] = complex(float64(i), float64(-i)) |
| s = make([]complex128, len(a)) |
| for i := 0; i < len(s); i++ { |
| c = make(chan complex128) |
| m = make(map[complex128]complex128) |
| for i := 0; i < len(s); i++ { |
| println(m[complex(-5, 5)]) |
| func chantest(c chan complex128) { c <- a[5] } |