aboutsummaryrefslogtreecommitdiff
path: root/test/interface/pointer.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-19 17:33:41 +1100
committerRob Pike <r@golang.org>2012-02-19 17:33:41 +1100
commit13514d4e0b56a2643525582e1f29ca2f62ad4c28 (patch)
treef759f874d66d5988df37010b767ca32029bd96af /test/interface/pointer.go
parent990f9f4c007cb8b74fafd5c3d4800de86a7f2295 (diff)
downloadgo-13514d4e0b56a2643525582e1f29ca2f62ad4c28.tar.xz
test/interface: document tests
Most already had comments (yay); adjusted for consistency. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5676102
Diffstat (limited to 'test/interface/pointer.go')
-rw-r--r--test/interface/pointer.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/interface/pointer.go b/test/interface/pointer.go
index 0548c24046..2927050669 100644
--- a/test/interface/pointer.go
+++ b/test/interface/pointer.go
@@ -4,7 +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{M()} = *interface{M()} produces a compiler error.
+// Test that interface{M()} = *interface{M()} produces a compiler error.
+// Does not compile.
package main