Commit 1f41ed37 authored by Rob Pike's avatar Rob Pike

update tests.

fixedbugs/bug012.go is broken again but i left it where it is, with
the golden file not reflecting the breakage so it will be noticed

R=ken,gri
OCL=14073
CL=14073
parent c7fb27f6
...@@ -9,6 +9,7 @@ package main ...@@ -9,6 +9,7 @@ package main
func main() { func main() {
x := 0; x := 0;
x = ^x; // unary ^ not yet implemented x = ^x; // unary ^ not yet implemented
if x != ^0 { panic x, " ", ^0 }
} }
/* /*
......
...@@ -46,9 +46,6 @@ abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz ...@@ -46,9 +46,6 @@ abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
=========== chan/nonblock.go =========== chan/nonblock.go
PASS PASS
=========== bugs/bug015.go
BUG: known to succeed incorrectly
=========== bugs/bug026.go =========== bugs/bug026.go
sys·printstring: main·sigs_I: not defined sys·printstring: main·sigs_I: not defined
BUG: known to fail incorrectly BUG: known to fail incorrectly
...@@ -71,10 +68,6 @@ BUG: compilation succeeds incorrectly ...@@ -71,10 +68,6 @@ BUG: compilation succeeds incorrectly
=========== bugs/bug041.go =========== bugs/bug041.go
BUG: compilation succeeds incorrectly BUG: compilation succeeds incorrectly
=========== bugs/bug046.go
bugs/bug046.go:7: illegal <this> pointer
BUG: known to fail incorrectly
=========== bugs/bug047.go =========== bugs/bug047.go
bugs/bug047.go:13: illegal types for operand: CONV bugs/bug047.go:13: illegal types for operand: CONV
(<T>{<s><string>*STRING;<f><float32>FLOAT32;}) (<T>{<s><string>*STRING;<f><float32>FLOAT32;})
...@@ -175,10 +168,6 @@ bugs/bug081.go:5: first constant must evaluate an expression ...@@ -175,10 +168,6 @@ bugs/bug081.go:5: first constant must evaluate an expression
BUG: compiler should not crash BUG: compiler should not crash
Bus error $G $D/$F.go Bus error $G $D/$F.go
=========== bugs/bug082.go
bugs/bug082.go:7: fatal error: optoas: no entry COM-<int32>INT32
BUG: fails incorrectly
=========== bugs/bug085.go =========== bugs/bug085.go
bugs/bug085.go:8: P: undefined bugs/bug085.go:8: P: undefined
BUG: fails incorrectly BUG: fails incorrectly
...@@ -193,6 +182,9 @@ bugs/bug087.go:8: illegal combination of literals LEN 9 ...@@ -193,6 +182,9 @@ bugs/bug087.go:8: illegal combination of literals LEN 9
bugs/bug087.go:8: illegal combination of literals LEN 9 bugs/bug087.go:8: illegal combination of literals LEN 9
BUG: fails incorrectly BUG: fails incorrectly
=========== fixedbugs/bug015.go
fixedbugs/bug015.go:7: overflow converting constant to <int64>INT64
=========== fixedbugs/bug025.go =========== fixedbugs/bug025.go
fixedbugs/bug025.go:7: variable exported but not defined: Foo fixedbugs/bug025.go:7: variable exported but not defined: Foo
......
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