summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/bug335.dir/a.go
blob: 6ecc5c45ef89224d7f2a20272dc83b200c540e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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.

package a

type T interface{}

func f() T { return nil }

var Foo T = f()