| 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 one |
| 6 |
|
| 7 |
type I1 interface { |
| 8 |
f() |
| 9 |
} |
| 10 |
|
| 11 |
type S1 struct { |
| 12 |
} |
| 13 |
|
| 14 |
func (s S1) f() { |
| 15 |
} |
| 16 |
|
| 17 |
func F1(i1 I1) { |
| 18 |
} |