diff options
author | Russ Cox <rsc@golang.org> | 2009-01-06 15:19:02 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-01-06 15:19:02 -0800 |
commit | e684aa575c07e0c3b15d959ff4b06d9d8787597a (patch) | |
tree | f3f98baba1fdd5e0138a4875884aa85111308b3f /test/fixedbugs/bug067.go | |
parent | 2e8a2665111620da74f35212abc1414c1bab4bad (diff) | |
download | golang-e684aa575c07e0c3b15d959ff4b06d9d8787597a.tar.gz |
new new & make
R=r
OCL=22166
CL=22166
Diffstat (limited to 'test/fixedbugs/bug067.go')
-rw-r--r-- | test/fixedbugs/bug067.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug067.go b/test/fixedbugs/bug067.go index 1e747ebba..b812f0116 100644 --- a/test/fixedbugs/bug067.go +++ b/test/fixedbugs/bug067.go @@ -9,7 +9,7 @@ package main var c chan int func main() { - c = new(chan int); + c = make(chan int); go func() { print("ok\n"); c <- 0 } (); <-c } |