blob: 3a7d733f0249199a9b6b795beedf846a4191f5d1 [file] [log] [blame]
Russ Coxa7f6d402009-01-26 09:56:42 -08001// $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
7package main
8
Robert Griesemer542099d2009-12-09 19:27:08 -08009func main() {
Rob Pike4f61fc92010-09-04 10:36:13 +100010 var b []int
11 var ib interface{} = b
12 var m = make(map[interface{}] int)
13 m[ib] = 1
Russ Coxa7f6d402009-01-26 09:56:42 -080014}