]> Cypherpunks repositories - gostls13.git/commitdiff
update tests
authorRob Pike <r@golang.org>
Sun, 27 Jul 2008 20:50:54 +0000 (13:50 -0700)
committerRob Pike <r@golang.org>
Sun, 27 Jul 2008 20:50:54 +0000 (13:50 -0700)
R=ken
OCL=13507
CL=13507

test/bugs/bug034.go [deleted file]
test/fixedbugs/bug025.go [moved from test/bugs/bug025.go with 74% similarity]
test/fixedbugs/bug052.go [moved from test/bugs/bug052.go with 100% similarity]
test/fixedbugs/bug063.go [moved from test/bugs/bug063.go with 100% similarity]
test/golden.out

diff --git a/test/bugs/bug034.go b/test/bugs/bug034.go
deleted file mode 100644 (file)
index fabd5c4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2009 The Go Authors.  All rights reserved.
-// 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: compilation succeeds incorrectly
-
-package main
-
-type Item interface {
-       Print_BUG       func();  // BUG no func allowed
-}
-
similarity index 74%
rename from test/bugs/bug025.go
rename to test/fixedbugs/bug025.go
index df1c1a7773ed9f3bbcd52f738d477e2a329e6f24..f8aa68d5dd752f37ff59be42bb98f7a6448ef5e9 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: bad exit status - should be 1 - plus extra newline in message
+// ! $G $D/$F.go
 
 package main
 
similarity index 100%
rename from test/bugs/bug052.go
rename to test/fixedbugs/bug052.go
similarity index 100%
rename from test/bugs/bug063.go
rename to test/fixedbugs/bug063.go
index 28e40a187fd0e2d69ddecc7a0ad10d3aab89398b..3f86de1a19ee246dde2835ae25558b004d9484cd 100644 (file)
@@ -130,10 +130,6 @@ BUG: known to fail incorrectly
 =========== bugs/bug015.go
 BUG: known to succeed incorrectly
 
-=========== bugs/bug025.go
-bugs/bug025.go:7: variable exported but not defined: Foo
-BUG: bad exit status - should be 1 - plus extra newline in message
-
 =========== bugs/bug026.go
 sys·printstring: main·sigs_I: not defined
 BUG: known to fail incorrectly
@@ -156,9 +152,6 @@ BUG: compilation succeeds incorrectly
 =========== bugs/bug033.go
 BUG: compilation succeeds incorrectly
 
-=========== bugs/bug034.go
-BUG: compilation succeeds incorrectly
-
 =========== bugs/bug041.go
 BUG: compilation succeeds incorrectly
 
@@ -189,29 +182,16 @@ bugs/bug048.go:7: illegal types for operand: CONV
        (MAP[<int32>INT32]<int32>INT32)
 BUG: known to fail incorrectly
 
-=========== bugs/bug052.go
-
 =========== bugs/bug053.go
 bugs/bug053.go:6: syntax error
 BUG: len should not be a keyword
 
 =========== bugs/bug054.go
-xxx
-.   CALL u(100) l(286) <Element>I{}
-.   .   NAME-Vector_At G0 a(1) l(273) 111({},{}){}
-.   .   AS u(1) l(286)
-.   .   .   INDREG a(1) l(286) v G0 *<Vector>{}
-.   .   .   DOTPTR u(1) l(286) *<Vector>{}
-.   .   .   .   NAME-s G349 a(1) g(349) l(282) *<TStruct>{}
-.   .   .   .   NAME-fields G0 a(1) l(279)
-.   .   AS u(1) l(286)
-.   .   .   INDREG a(1) l(286) i G350 <int32>INT32
-.   .   .   NAME-i G350 a(1) g(350) l(282) <int32>INT32
 bugs/bug054.go:25: fatal error: agen_inter i2s
 BUG: known to fail incorrectly
 
 =========== bugs/bug057.go
-bugs/bug057.go:13: syntax error
+bugs/bug057.go:14: syntax error
 BUG: compilation should succeed
 
 =========== bugs/bug060.go
@@ -226,11 +206,6 @@ BUG: known to fail incorrectly
 =========== bugs/bug062.go
 BUG: known to succeed incorrectly
 
-=========== bugs/bug063.go
-bugs/bug063.go:5: illegal combination of literals XOR 7
-bugs/bug063.go:5: expression must be a constant
-BUG: should compile without problems
-
 =========== bugs/bug064.go
 bugs/bug064.go:15: illegal types for operand: CALL
        (<int32>INT32)
@@ -247,10 +222,10 @@ inner loop top i 0
 do break
 outer loop top k 1
 k not zero
-panic on line 271 PC=0x1362
+panic on line 305 PC=0x1362
 0x1362?zi
-       main·main(1, 0, 1606416424, ...)
-       main·main(0x1, 0x7fff5fbff828, 0x0, ...)
+       main·main(1, 0, 1606415392, ...)
+       main·main(0x1, 0x7fff5fbff420, 0x0, ...)
 BUG: crashes
 
 =========== bugs/bug072.go
@@ -272,6 +247,8 @@ BUG: known to fail incorrectly
 =========== bugs/bug077.go
 BUG: known to succeed incorrectly
 
+=========== bugs/bug078.go
+
 =========== fixedbugs/bug000.go
 
 =========== fixedbugs/bug001.go
@@ -314,6 +291,9 @@ BUG: known to succeed incorrectly
 
 =========== fixedbugs/bug024.go
 
+=========== fixedbugs/bug025.go
+fixedbugs/bug025.go:7: variable exported but not defined: Foo
+
 =========== fixedbugs/bug028.go
 
 =========== fixedbugs/bug030.go
@@ -330,7 +310,7 @@ fixedbugs/bug035.go:7: var f redeclared in this block
 
 =========== fixedbugs/bug037.go
 fixedbugs/bug037.go:6: vlong: undefined
-fixedbugs/bug037.go:6: fatal error: addvar: n=NAME-s G0 a(1) l(267) t=<T> nil
+fixedbugs/bug037.go:6: fatal error: addvar: n=NAME-s G0 a(1) l(301) t=<T> nil
 
 =========== fixedbugs/bug038.go
 
@@ -355,6 +335,8 @@ sys.6:1 fixedbugs/bug050.go:3: syntax error
 =========== fixedbugs/bug051.go
 fixedbugs/bug051.go:10: expression must be a constant
 
+=========== fixedbugs/bug052.go
+
 =========== fixedbugs/bug055.go
 
 =========== fixedbugs/bug056.go
@@ -363,6 +345,8 @@ fixedbugs/bug051.go:10: expression must be a constant
 
 =========== fixedbugs/bug059.go
 
+=========== fixedbugs/bug063.go
+
 =========== fixedbugs/bug065.go
 
 =========== fixedbugs/bug066.go