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