Home | History | Annotate | Download | only in bug335.dir
      1 // Copyright 2011 The Go Authors.  All rights reserved.
      2 // Use of this source code is governed by a BSD-style
      3 // license that can be found in the LICENSE file.
      4 
      5 package a
      6 
      7 type T interface{}
      8 
      9 func f() T { return nil }
     10 
     11 var Foo T = f()
     12