Imported Upstream version 4.7.2
[platform/upstream/gcc48.git] / gcc / testsuite / go.test / test / interface / private1.go
1 // true  # used by private.go
2
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.
6
7 package p
8
9 type Exported interface {
10         private()
11 }
12
13 type Implementation struct{}
14
15 func (p *Implementation) private() {}
16
17 var X = new(Implementation)
18