blob: 2a55f7b8f4c8fb7feffaf96c13de86ed0734a921 [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
9func main()
10{
Russ Cox1af3edc2009-07-03 09:45:15 -070011 var b []int;
Russ Coxa7f6d402009-01-26 09:56:42 -080012 var ib interface{} = b;
13 var m = make(map[interface{}] int);
14 m[ib] = 1;
15}