summaryrefslogtreecommitdiff
path: root/test/interface/private1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/interface/private1.go')
-rw-r--r--test/interface/private1.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/interface/private1.go b/test/interface/private1.go
index 3173fbef4..9c831a2f4 100644
--- a/test/interface/private1.go
+++ b/test/interface/private1.go
@@ -4,6 +4,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Imported by private.go, which should not be able to see the private method.
+
package p
type Exported interface {