From 13514d4e0b56a2643525582e1f29ca2f62ad4c28 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sun, 19 Feb 2012 17:33:41 +1100 Subject: test/interface: document tests Most already had comments (yay); adjusted for consistency. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5676102 --- test/interface/pointer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/interface/pointer.go') 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 -- cgit v1.3-5-g9baa