modernc.org/gc@v1.0.1-0.20240304020402-f0dba7c97c2b/testdata/errchk/test/fixedbugs/bug392.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 // Use the functions in one.go so that the inlined 6 // forms get type-checked. 7 8 package pkg2 9 10 import "./one" 11 12 func 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 23 var V = []one.PB{{}, {}} 24 25 func F() *one.PB