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 | |||||
9 | func main() | ||||
10 | { | ||||
Russ Cox | 1af3edc | 2009-07-03 09:45:15 -0700 | [diff] [blame] | 11 | var b []int; |
Russ Cox | a7f6d40 | 2009-01-26 09:56:42 -0800 | [diff] [blame] | 12 | var ib interface{} = b; |
13 | var m = make(map[interface{}] int); | ||||
14 | m[ib] = 1; | ||||
15 | } |