Commit 7713599f authored by Rob Pike's avatar Rob Pike

update tests

R=gri
OCL=14847
CL=14847
parent 193eac79
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // 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 package main
......
...@@ -62,22 +62,12 @@ BUG should compile ...@@ -62,22 +62,12 @@ BUG should compile
sys·printstring: main·sigs_I: not defined sys·printstring: main·sigs_I: not defined
BUG: known to fail incorrectly BUG: known to fail incorrectly
=========== bugs/bug029.go
BUG: known to succeed incorrectly
=========== bugs/bug032.go =========== bugs/bug032.go
BUG: compilation succeeds incorrectly BUG: compilation succeeds incorrectly
=========== bugs/bug041.go =========== bugs/bug041.go
BUG: compilation succeeds incorrectly 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
bugs/bug064.go:15: illegal types for operand: CALL bugs/bug064.go:15: illegal types for operand: CALL
(<int32>INT32) (<int32>INT32)
...@@ -158,6 +148,10 @@ hi ...@@ -158,6 +148,10 @@ hi
3 11 3 11
4 0 4 0
=========== fixedbugs/bug029.go
fixedbugs/bug029.go:6: syntax error
fixedbugs/bug029.go:6: syntax error
=========== fixedbugs/bug035.go =========== fixedbugs/bug035.go
fixedbugs/bug035.go:6: var i redeclared in this block fixedbugs/bug035.go:6: var i redeclared in this block
previous declaration at fixedbugs/bug035.go:5 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 ...@@ -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 fixedbugs/bug039.go:6: var x redeclared in this block
previous declaration at fixedbugs/bug039.go:5 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
fixedbugs/bug050.go:3: package statement must be first fixedbugs/bug050.go:3: package statement must be first
sys.6:1 fixedbugs/bug050.go:3: syntax error sys.6:1 fixedbugs/bug050.go:3: syntax error
...@@ -179,6 +176,11 @@ 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
fixedbugs/bug051.go:10: expression must be a constant 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 =========== fixedbugs/bug067.go
ok ok
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment