summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug335.dir/a.go
blob: 256c110d703736c6763e855b108e5dd8a931a6d9 (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()