From: Ian Lance Taylor Date: Thu, 2 Oct 2008 00:01:42 +0000 (-0700) Subject: With the cleanup of method types, this test case is now X-Git-Tag: weekly.2009-11-06~3061 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8d0ed065dc9572fce405fd556f4d15b362f5cae1;p=gostls13.git 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 --- 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