diff options
Diffstat (limited to 'test/fixedbugs/bug371.go')
-rw-r--r-- | test/fixedbugs/bug371.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixedbugs/bug371.go b/test/fixedbugs/bug371.go index 6329e9635..86c73bf4a 100644 --- a/test/fixedbugs/bug371.go +++ b/test/fixedbugs/bug371.go @@ -8,10 +8,10 @@ package main -type T struct {} +type T struct{} func (t *T) pm() {} -func (t T) m() {} +func (t T) m() {} func main() { p := &T{} @@ -20,5 +20,5 @@ func main() { q := &p q.m() // ERROR "requires explicit dereference" - q.pm() + q.pm() // ERROR "requires explicit dereference" } |