1 // $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG: bug343
3 // Copyright 2011 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.
11 func getArgs(data map[string]interface{}, keys ...string) map[string]string {
12 ret := map[string]string{}
14 for _, k := range keys {
15 ret[k], ok = data[k].(string)
22 x := getArgs(map[string]interface{}{"x":"y"}, "x")
24 println("BUG bug343", x)
31 . INDREG a(1) l(15) x(24) tc(2) runtime.ret G0 string
32 bug343.go:15: internal compiler error: typecheck INDREG