summaryrefslogtreecommitdiffstats
path: root/test/interface/embed1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/interface/embed1.go')
-rw-r--r--test/interface/embed1.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/interface/embed1.go b/test/interface/embed1.go
new file mode 100644
index 0000000..784b82b
--- /dev/null
+++ b/test/interface/embed1.go
@@ -0,0 +1,9 @@
+// rundir
+
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Test that embedded interface types can have local methods.
+
+package ignored