summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug067.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-06 15:19:02 -0800
committerRuss Cox <rsc@golang.org>2009-01-06 15:19:02 -0800
commite684aa575c07e0c3b15d959ff4b06d9d8787597a (patch)
treef3f98baba1fdd5e0138a4875884aa85111308b3f /test/fixedbugs/bug067.go
parent2e8a2665111620da74f35212abc1414c1bab4bad (diff)
downloadgolang-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.go2
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
}