| 1 |
// Copyright 2011 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 lib |
| 6 |
|
| 7 |
type T struct { |
| 8 |
x int // non-exported field |
| 9 |
} |
| 10 |
|
| 11 |
func (t T) M() { |
| 12 |
} |
| 13 |
|
| 14 |
func (t *T) PM() { |
| 15 |
} |