2016-04-10 14:32:26 -07:00
|
|
|
// Copyright 2012 The Go Authors. All rights reserved.
|
2012-01-11 13:21:06 -08:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
|
|
// Use the functions in one.go so that the inlined
|
|
|
|
|
// forms get type-checked.
|
|
|
|
|
|
2012-08-25 10:16:02 +02:00
|
|
|
package pkg2
|
2012-01-11 21:26:54 +01:00
|
|
|
|
2012-01-11 13:21:06 -08:00
|
|
|
import "./one"
|
|
|
|
|
|
|
|
|
|
func use() {
|
|
|
|
|
one.F1(nil)
|
|
|
|
|
one.F2(nil)
|
2012-01-11 20:32:02 -05:00
|
|
|
one.F3()
|
2012-02-06 12:19:59 +01:00
|
|
|
one.F4(1)
|
2012-01-11 17:25:09 -05:00
|
|
|
|
|
|
|
|
var t *one.T
|
|
|
|
|
t.M()
|
|
|
|
|
t.MM()
|
2012-01-11 13:21:06 -08:00
|
|
|
}
|
2012-02-09 00:26:08 -05:00
|
|
|
|
|
|
|
|
var V = []one.PB{{}, {}}
|
|
|
|
|
|
|
|
|
|
func F() *one.PB
|