summaryrefslogtreecommitdiff
path: root/test/interface/private.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/interface/private.go')
-rw-r--r--test/interface/private.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/interface/private.go b/test/interface/private.go
index 37890c923..14dfc1ae5 100644
--- a/test/interface/private.go
+++ b/test/interface/private.go
@@ -4,6 +4,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Test that unexported methods are not visible outside the package.
+// Does not compile.
+
package main
import "./private1"