1 // skip # used by private.go
3 // Copyright 2011 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Imported by private.go, which should not be able to see the private method.
11 type Exported interface {
15 type Implementation struct{}
17 func (p *Implementation) private() {}
19 var X = new(Implementation)