]> Cypherpunks repositories - gostls13.git/commitdiff
re-fix bug067, update golden.out
authorRuss Cox <rsc@golang.org>
Mon, 22 Sep 2008 23:16:22 +0000 (16:16 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 22 Sep 2008 23:16:22 +0000 (16:16 -0700)
R=r
DELTA=9  (4 added, 3 deleted, 2 changed)
OCL=15655
CL=15655

test/fixedbugs/bug067.go
test/golden.out

index a7efbcf164bfdaebe22ac7557b3425133d892a2a..451ebbbf30a8da7628f28acf2d67bb87fb12b59f 100644 (file)
@@ -6,6 +6,10 @@
 
 package main
 
+var c *chan int
+
 func main() {
-       go func() { print("ok\n") } ();
+       c = new(chan int)
+       go func() { print("ok\n"); c <- 0 } ();
+       <-c
 }
index ceac2404f68d9d4c46041ad20bfd3b67d40bc7a0..f82bc7a44e03eb0895243228a3e8e30ffc998631 100644 (file)
@@ -1,7 +1,4 @@
 
-=========== ./dialgoogle.go
-/Users/r/go/pkg/net.a:4 dialgoogle.go:5: os is becoming a package behind your back
-
 =========== ./helloworld.go
 hello, world
 
@@ -250,7 +247,7 @@ fixedbugs/bug073.go:9: illegal types for operand: RSH
        (<int32>INT32)
 
 =========== fixedbugs/bug081.go
-fixedbugs/bug081.go:5: x is var, not type
+fixedbugs/bug081.go:5: no type x
 
 =========== fixedbugs/bug086.go
 fixedbugs/bug086.go:5: function ends without a return statement