Commit 8d0ed065 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 4fb6064c
......@@ -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 <this> pointer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment