From: Rob Pike Date: Mon, 11 Aug 2008 17:10:48 +0000 (-0700) Subject: update tests. X-Git-Tag: weekly.2009-11-06~3340 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1f41ed375bc4835dc9abda2cb5bda424d01c8445;p=gostls13.git 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 --- diff --git a/test/bugs/bug015.go b/test/fixedbugs/bug015.go similarity index 100% rename from test/bugs/bug015.go rename to test/fixedbugs/bug015.go diff --git a/test/bugs/bug046.go b/test/fixedbugs/bug046.go similarity index 100% rename from test/bugs/bug046.go rename to test/fixedbugs/bug046.go diff --git a/test/bugs/bug082.go b/test/fixedbugs/bug082.go similarity index 92% rename from test/bugs/bug082.go rename to test/fixedbugs/bug082.go index 9b877de07f..26c4f1f648 100644 --- a/test/bugs/bug082.go +++ b/test/fixedbugs/bug082.go @@ -9,6 +9,7 @@ package main func main() { x := 0; x = ^x; // unary ^ not yet implemented + if x != ^0 { panic x, " ", ^0 } } /* diff --git a/test/golden.out b/test/golden.out index c5b823e879..c3f018fa81 100644 --- a/test/golden.out +++ b/test/golden.out @@ -46,9 +46,6 @@ abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz =========== chan/nonblock.go PASS -=========== bugs/bug015.go -BUG: known to succeed incorrectly - =========== bugs/bug026.go sys·printstring: main·sigs_I: not defined BUG: known to fail incorrectly @@ -71,10 +68,6 @@ BUG: compilation succeeds incorrectly =========== bugs/bug041.go BUG: compilation succeeds incorrectly -=========== bugs/bug046.go -bugs/bug046.go:7: illegal pointer -BUG: known to fail incorrectly - =========== bugs/bug047.go bugs/bug047.go:13: illegal types for operand: CONV ({*STRING;FLOAT32;}) @@ -175,10 +168,6 @@ bugs/bug081.go:5: first constant must evaluate an expression BUG: compiler should not crash Bus error $G $D/$F.go -=========== bugs/bug082.go -bugs/bug082.go:7: fatal error: optoas: no entry COM-INT32 -BUG: fails incorrectly - =========== bugs/bug085.go bugs/bug085.go:8: P: undefined BUG: fails incorrectly @@ -193,6 +182,9 @@ bugs/bug087.go:8: illegal combination of literals LEN 9 bugs/bug087.go:8: illegal combination of literals LEN 9 BUG: fails incorrectly +=========== fixedbugs/bug015.go +fixedbugs/bug015.go:7: overflow converting constant to INT64 + =========== fixedbugs/bug025.go fixedbugs/bug025.go:7: variable exported but not defined: Foo