]> Cypherpunks repositories - gostls13.git/commitdiff
update tests
authorRob Pike <r@golang.org>
Fri, 5 Sep 2008 00:36:57 +0000 (17:36 -0700)
committerRob Pike <r@golang.org>
Fri, 5 Sep 2008 00:36:57 +0000 (17:36 -0700)
R=gri
OCL=14847
CL=14847

test/fixedbugs/bug029.go [moved from test/bugs/bug029.go with 82% similarity]
test/fixedbugs/bug061.go [moved from test/bugs/bug061.go with 100% similarity]
test/fixedbugs/bug062.go [moved from test/bugs/bug062.go with 100% similarity]
test/golden.out

similarity index 82%
rename from test/bugs/bug029.go
rename to test/fixedbugs/bug029.go
index 87e0f689f0b93d33dead5e0bef3b4dc3a28ea32f..7abb018c5764088d12d413031da86bba2d7c0591 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// $G $D/$F.go && echo BUG: known to succeed incorrectly
+// ! $G $D/$F.go
 
 package main
 
similarity index 100%
rename from test/bugs/bug061.go
rename to test/fixedbugs/bug061.go
similarity index 100%
rename from test/bugs/bug062.go
rename to test/fixedbugs/bug062.go
index aa1173a66a024ff38f8db632d493fe1cfe2f6e75..9ab450f34fc5dd904d96b79e1d8978049e30ccf8 100644 (file)
@@ -62,22 +62,12 @@ BUG should compile
 sys·printstring: main·sigs_I: not defined
 BUG: known to fail incorrectly
 
-=========== bugs/bug029.go
-BUG: known to succeed incorrectly
-
 =========== bugs/bug032.go
 BUG: compilation succeeds incorrectly
 
 =========== bugs/bug041.go
 BUG: compilation succeeds incorrectly
 
-=========== bugs/bug061.go
-BUG: known to fail incorrectly
-Bus error               $G $D/$F.go
-
-=========== bugs/bug062.go
-BUG: known to succeed incorrectly
-
 =========== bugs/bug064.go
 bugs/bug064.go:15: illegal types for operand: CALL
        (<int32>INT32)
@@ -158,6 +148,10 @@ hi
 3 11
 4 0
 
+=========== fixedbugs/bug029.go
+fixedbugs/bug029.go:6: syntax error
+fixedbugs/bug029.go:6: syntax error
+
 =========== fixedbugs/bug035.go
 fixedbugs/bug035.go:6: var i redeclared in this block
      previous declaration at fixedbugs/bug035.go:5
@@ -172,6 +166,9 @@ fixedbugs/bug037.go:6: fatal error: addvar: n=NAME-s G0 a(1) l(338) t=<T> nil
 fixedbugs/bug039.go:6: var x redeclared in this block
      previous declaration at fixedbugs/bug039.go:5
 
+=========== fixedbugs/bug049.go
+fixedbugs/bug049.go:6: illegal conversion of constant to <string>*STRING
+
 =========== fixedbugs/bug050.go
 fixedbugs/bug050.go:3: package statement must be first
 sys.6:1 fixedbugs/bug050.go:3: syntax error
@@ -179,6 +176,11 @@ sys.6:1 fixedbugs/bug050.go:3: syntax error
 =========== fixedbugs/bug051.go
 fixedbugs/bug051.go:10: expression must be a constant
 
+=========== fixedbugs/bug062.go
+fixedbugs/bug062.go:6: illegal conversion of constant to <string>*STRING
+fixedbugs/bug062.go:6: illegal types for operand: AS
+       (<string>*STRING)
+
 =========== fixedbugs/bug067.go
 ok