mirror of
https://github.com/golang/go
synced 2024-11-26 11:18:56 -07:00
16 lines
304 B
Go
16 lines
304 B
Go
|
// Copyright 2012 The Go Authors. All rights reserved.
|
||
|
// 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.
|
||
|
|
||
|
package two
|
||
|
|
||
|
import "./one"
|
||
|
|
||
|
func use() {
|
||
|
var r one.T
|
||
|
r.F()
|
||
|
}
|