]> Cypherpunks repositories - gostls13.git/commitdiff
Erroneous test case. The break statement should break out of
authorIan Lance Taylor <iant@golang.org>
Fri, 7 Nov 2008 01:39:48 +0000 (17:39 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 7 Nov 2008 01:39:48 +0000 (17:39 -0800)
a select clause.

R=ken
DELTA=20  (0 added, 20 deleted, 0 changed)
OCL=18731
CL=18739

test/bugs/bug119.go [deleted file]
test/golden.out

diff --git a/test/bugs/bug119.go b/test/bugs/bug119.go
deleted file mode 100644 (file)
index 956f1b9..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG: should not fail
-
-// Copyright 2009 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package main
-
-func main() {
-  a := new(chan bool);
-  for {
-    select {
-    case <- a:
-      panic();
-    default:
-      break;
-    }
-    panic();
-  }
-}
index 77fe8dc881653fe12687da801b3522eb8a874fb5..640267d30189b9eff6723778afe10e7a6d2edc2d 100644 (file)
@@ -153,10 +153,6 @@ BUG: should compile
 =========== bugs/bug118.go
 BUG should compile
 
-=========== bugs/bug119.go
-
-panic on line 82 PC=xxx
-BUG should not panic
 =========== fixedbugs/bug016.go
 fixedbugs/bug016.go:7: overflow converting constant to uint