modernc.org/gc@v1.0.1-0.20240304020402-f0dba7c97c2b/testdata/errchk/test/fixedbugs/issue4590.dir/pkg2.go (about) 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)