]> Cypherpunks repositories - gostls13.git/commitdiff
update tests.
authorRob Pike <r@golang.org>
Tue, 2 Sep 2008 20:08:40 +0000 (13:08 -0700)
committerRob Pike <r@golang.org>
Tue, 2 Sep 2008 20:08:40 +0000 (13:08 -0700)
fix bug092, which was incorrectly specified

R=gri
OCL=14713
CL=14713

test/fixedbugs/bug070.go [moved from test/bugs/bug070.go with 100% similarity]
test/fixedbugs/bug091.go [moved from test/bugs/bug091.go with 100% similarity]
test/golden.out

similarity index 100%
rename from test/bugs/bug070.go
rename to test/fixedbugs/bug070.go
similarity index 100%
rename from test/bugs/bug091.go
rename to test/fixedbugs/bug091.go
index af39350c1ad1c2956a7459446537ef9f5b1cb794..ed4b9c4a1e2e08ab215647d8b4132ab0040e2cd3 100644 (file)
@@ -48,7 +48,6 @@ PASS
 
 =========== bugs/bug020.go
 bugs/bug020.go:7: type of a structure field cannot be an open array
-bugs/bug020.go:7: fatal error: width of a dynamic array
 BUG should compile
 
 =========== bugs/bug026.go
@@ -109,19 +108,6 @@ BUG: compilation should succeed
 bugs/bug068.go:6: unknown escape sequence: '
 BUG: compilation should succeed
 
-=========== bugs/bug070.go
-outer loop top k 0
-inner loop top i 0
-do break
-outer loop top k 1
-k not zero
-panic on line 342 PC=0x1362
-0x1362?zi
-       mainĀ·main(1, 0, 1606416392, ...)
-       mainĀ·main(0x1, 0x7fff5fbff808, 0x0, ...)
-BUG: crashes
-Trace/BPT trap          ./$A.out
-
 =========== bugs/bug072.go
 bugs/bug072.go:6: bug: undefined
 BUG: compiler crashes after error message - Bus error
@@ -136,10 +122,6 @@ bugs/bug075.go:11: bad shape across assignment - cr=1 cl=2
 
 BUG: known to fail incorrectly
 
-=========== bugs/bug076.go
-bugs/bug076.go:11: label redeclared: exit
-BUG: known to fail incorrectly
-
 =========== bugs/bug077.go
 BUG: known to succeed incorrectly
 
@@ -185,12 +167,9 @@ BUG: fails incorrectly
 =========== bugs/bug090.go
 BUG: compilation succeeds incorrectly
 
-=========== bugs/bug091.go
-BUG: compilation succeeds incorrectly
-
 =========== bugs/bug092.go
 BUG should not crash
-/tmp/gorun-gri: line 1: 18181 Illegal instruction     ./$A.out
+/tmp/gorun-r: line 1: 83206 Illegal instruction     ./$A.out
 
 =========== fixedbugs/bug015.go
 fixedbugs/bug015.go:7: overflow converting constant to <int64>INT64
@@ -225,6 +204,12 @@ fixedbugs/bug051.go:10: expression must be a constant
 =========== fixedbugs/bug067.go
 ok
 
+=========== fixedbugs/bug070.go
+outer loop top k 0
+inner loop top i 0
+do break
+broke
+
 =========== fixedbugs/bug073.go
 fixedbugs/bug073.go:8: illegal types for operand: LSH
        (<int32>INT32)
@@ -232,3 +217,6 @@ fixedbugs/bug073.go:8: illegal types for operand: LSH
 fixedbugs/bug073.go:9: illegal types for operand: RSH
        (<int32>INT32)
        (<int32>INT32)
+
+=========== fixedbugs/bug091.go
+fixedbugs/bug091.go:14: label exit not defined