blob: 61787b07c49ce4f1a102f9a762339110d959eb02 [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{
11 var a []int;
12 var ia interface{} = a;
13 var m = make(map[interface{}] int);
14 m[ia] = 1;
15}