| 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 |
package p2 |
| 6 |
|
| 7 |
import "./p1" |
| 8 |
|
| 9 |
type T struct { |
| 10 |
p1.T |
| 11 |
} |
| 12 |
|
| 13 |
func F() { |
| 14 |
var t T |
| 15 |
p1.F(&t.T) |
| 16 |
} |