diff options
Diffstat (limited to 'test/fixedbugs/bug084.go')
-rw-r--r-- | test/fixedbugs/bug084.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug084.go b/test/fixedbugs/bug084.go index 138b6da4b..2897593dc 100644 --- a/test/fixedbugs/bug084.go +++ b/test/fixedbugs/bug084.go @@ -17,7 +17,7 @@ func (s *Service) Serve(a int64) { var arith Service func main() { - c := new(chan string); - a := new(*Service); + c := make(chan string); + a := new(Service); go a.Serve(1234); } |