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// Use the functions in one.go so that the inlined 6// forms get type-checked. 7 8package pkg2 9 10import "./one" 11 12func use() { 13 one.F1(nil) 14 one.F2(nil) 15 one.F3() 16 one.F4(1) 17 18 var t *one.T 19 t.M() 20 t.MM() 21} 22 23var V = []one.PB{{}, {}} 24 25func F() *one.PB 26