From d840779d66865cd18d2834e1719b1092588812ce Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Thu, 23 Feb 2012 18:47:26 +1100 Subject: test: commentary for [h-m]*.go R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/5674112 --- test/method2.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/method2.go') diff --git a/test/method2.go b/test/method2.go index 7db1c3abb..b63da10dc 100644 --- a/test/method2.go +++ b/test/method2.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. +// Verify that pointers and interface types cannot be method receivers. +// Does not compile. + package main type T struct { -- cgit v1.2.1