Russ Cox | a7f6d40 | 2009-01-26 09:56:42 -0800 | [diff] [blame] | 1 | // $G $D/$F.go && $L $F.$A && ! ./$A.out |
| 2 | |
| 3 | // Copyright 2009 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | package main |
| 8 | |
Robert Griesemer | 542099d | 2009-12-09 19:27:08 -0800 | [diff] [blame] | 9 | func main() { |
Rob Pike | 4f61fc9 | 2010-09-04 10:36:13 +1000 | [diff] [blame] | 10 | var b []int |
| 11 | var ib interface{} = b |
| 12 | var m = make(map[interface{}] int) |
| 13 | m[ib] = 1 |
Russ Cox | a7f6d40 | 2009-01-26 09:56:42 -0800 | [diff] [blame] | 14 | } |