Source file test/fixedbugs/issue4590.dir/pkg2.go

     1  // Copyright 2012 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 pkg2
     6  
     7  import "./pkg1"
     8  
     9  var T = struct{ pkg1.A }{nil}
    10  var U = struct{ pkg1.B }{nil}
    11  var V pkg1.A = struct{ *pkg1.C }{nil}
    12  var W = interface {
    13  	Write() error
    14  	Hello()
    15  }(nil)
    16  

View as plain text