summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug335.dir/b.go
blob: 7428c2a918a4ccb62d5ad4379d3a10b2ca315cbb (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 b

type T interface{}

func f() T { return nil }

var Foo T = f()