Commit 6bff3725 authored by Rob Pike's avatar Rob Pike

update tests

R=ken
OCL=13507
CL=13507
parent 8fda2e40
// 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
}
...@@ -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: bad exit status - should be 1 - plus extra newline in message // ! $G $D/$F.go
package main package main
......
...@@ -130,10 +130,6 @@ BUG: known to fail incorrectly ...@@ -130,10 +130,6 @@ BUG: known to fail incorrectly
=========== bugs/bug015.go =========== bugs/bug015.go
BUG: known to succeed incorrectly 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 =========== 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
...@@ -156,9 +152,6 @@ BUG: compilation succeeds incorrectly ...@@ -156,9 +152,6 @@ BUG: compilation succeeds incorrectly
=========== bugs/bug033.go =========== bugs/bug033.go
BUG: compilation succeeds incorrectly BUG: compilation succeeds incorrectly
=========== bugs/bug034.go
BUG: compilation succeeds incorrectly
=========== bugs/bug041.go =========== bugs/bug041.go
BUG: compilation succeeds incorrectly BUG: compilation succeeds incorrectly
...@@ -189,29 +182,16 @@ bugs/bug048.go:7: illegal types for operand: CONV ...@@ -189,29 +182,16 @@ bugs/bug048.go:7: illegal types for operand: CONV
(MAP[<int32>INT32]<int32>INT32) (MAP[<int32>INT32]<int32>INT32)
BUG: known to fail incorrectly BUG: known to fail incorrectly
=========== bugs/bug052.go
=========== bugs/bug053.go =========== bugs/bug053.go
bugs/bug053.go:6: syntax error bugs/bug053.go:6: syntax error
BUG: len should not be a keyword BUG: len should not be a keyword
=========== bugs/bug054.go =========== 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 bugs/bug054.go:25: fatal error: agen_inter i2s
BUG: known to fail incorrectly BUG: known to fail incorrectly
=========== bugs/bug057.go =========== bugs/bug057.go
bugs/bug057.go:13: syntax error bugs/bug057.go:14: syntax error
BUG: compilation should succeed BUG: compilation should succeed
=========== bugs/bug060.go =========== bugs/bug060.go
...@@ -226,11 +206,6 @@ BUG: known to fail incorrectly ...@@ -226,11 +206,6 @@ BUG: known to fail incorrectly
=========== bugs/bug062.go =========== bugs/bug062.go
BUG: known to succeed incorrectly 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
bugs/bug064.go:15: illegal types for operand: CALL bugs/bug064.go:15: illegal types for operand: CALL
(<int32>INT32) (<int32>INT32)
...@@ -247,10 +222,10 @@ inner loop top i 0 ...@@ -247,10 +222,10 @@ inner loop top i 0
do break do break
outer loop top k 1 outer loop top k 1
k not zero k not zero
panic on line 271 PC=0x1362 panic on line 305 PC=0x1362
0x1362?zi 0x1362?zi
main·main(1, 0, 1606416424, ...) main·main(1, 0, 1606415392, ...)
main·main(0x1, 0x7fff5fbff828, 0x0, ...) main·main(0x1, 0x7fff5fbff420, 0x0, ...)
BUG: crashes BUG: crashes
=========== bugs/bug072.go =========== bugs/bug072.go
...@@ -272,6 +247,8 @@ BUG: known to fail incorrectly ...@@ -272,6 +247,8 @@ BUG: known to fail incorrectly
=========== bugs/bug077.go =========== bugs/bug077.go
BUG: known to succeed incorrectly BUG: known to succeed incorrectly
=========== bugs/bug078.go
=========== fixedbugs/bug000.go =========== fixedbugs/bug000.go
=========== fixedbugs/bug001.go =========== fixedbugs/bug001.go
...@@ -314,6 +291,9 @@ BUG: known to succeed incorrectly ...@@ -314,6 +291,9 @@ BUG: known to succeed incorrectly
=========== fixedbugs/bug024.go =========== fixedbugs/bug024.go
=========== fixedbugs/bug025.go
fixedbugs/bug025.go:7: variable exported but not defined: Foo
=========== fixedbugs/bug028.go =========== fixedbugs/bug028.go
=========== fixedbugs/bug030.go =========== fixedbugs/bug030.go
...@@ -330,7 +310,7 @@ fixedbugs/bug035.go:7: var f redeclared in this block ...@@ -330,7 +310,7 @@ fixedbugs/bug035.go:7: var f redeclared in this block
=========== fixedbugs/bug037.go =========== fixedbugs/bug037.go
fixedbugs/bug037.go:6: vlong: undefined 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 =========== fixedbugs/bug038.go
...@@ -355,6 +335,8 @@ sys.6:1 fixedbugs/bug050.go:3: syntax error ...@@ -355,6 +335,8 @@ 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/bug052.go
=========== fixedbugs/bug055.go =========== fixedbugs/bug055.go
=========== fixedbugs/bug056.go =========== fixedbugs/bug056.go
...@@ -363,6 +345,8 @@ fixedbugs/bug051.go:10: expression must be a constant ...@@ -363,6 +345,8 @@ fixedbugs/bug051.go:10: expression must be a constant
=========== fixedbugs/bug059.go =========== fixedbugs/bug059.go
=========== fixedbugs/bug063.go
=========== fixedbugs/bug065.go =========== fixedbugs/bug065.go
=========== fixedbugs/bug066.go =========== fixedbugs/bug066.go
......
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