summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/bug380.go
blob: 0cb34873272ba8b894d5a92d595009321f7078c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile

// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Used to cause a typechecking loop error.

package pkg
type T map[int]string
var q = &T{}