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