From 8d0ed065dc9572fce405fd556f4d15b362f5cae1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 1 Oct 2008 17:01:42 -0700 Subject: [PATCH] With the cleanup of method types, this test case is now invalid. The receiver type is not permitted to be a pointer type. Since 6g currently accepts it, this moves the test case back to the bugs directory. R=gri DELTA=22 (11 added, 11 deleted, 0 changed) OCL=16284 CL=16336 --- test/{fixedbugs => bugs}/bug046.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename test/{fixedbugs => bugs}/bug046.go (81%) diff --git a/test/fixedbugs/bug046.go b/test/bugs/bug046.go similarity index 81% rename from test/fixedbugs/bug046.go rename to test/bugs/bug046.go index fd16e0f483..ba08f790e2 100644 --- a/test/fixedbugs/bug046.go +++ b/test/bugs/bug046.go @@ -8,7 +8,7 @@ package main type T *struct {} -func (x T) M () {} // not clear why this shouldn't work +func (x T) M () {} // ERROR "pointer" /* bug046.go:7: illegal pointer