summaryrefslogtreecommitdiff
path: root/test/interface2.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/interface2.go')
-rw-r--r--test/interface2.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/interface2.go b/test/interface2.go
index 53676787f..1e3758069 100644
--- a/test/interface2.go
+++ b/test/interface2.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.
+// Check that interface conversion fails when method is missing.
+
package main
type S struct