1
0
mirror of https://github.com/golang/go synced 2024-11-14 08:20:21 -07:00
go/test/golden.out
Rob Pike 60db3d6d3f don't print (incorrect anyway) line numbers in panic.
R=rsc
DELTA=4  (0 added, 2 deleted, 2 changed)
OCL=19757
CL=19763
2008-11-20 23:16:31 -08:00

297 lines
7.5 KiB
Plaintext

=========== ./convlit.go
BUG: convlit.go fails
BUG: errchk: ./convlit.go: missing expected error message on line 16: 'conver|incompatible'
errchk: ./convlit.go: missing expected error message on line 17: 'conver|incompatible'
errchk: ./convlit.go: missing expected error message on line 18: 'conver|incompatible'
errchk: ./convlit.go: missing expected error message on line 22: 'convert'
errchk: ./convlit.go: missing expected error message on line 23: 'overflow'
errchk: ./convlit.go: missing expected error message on line 24: 'overflow'
errchk: ./convlit.go: unmatched error messages:
==================================================
./convlit.go:8: cannot convert non-integer constant to int
./convlit.go:11: overflow converting constant to int
./convlit.go:12: overflow in float constant
./convlit.go:8: cannot convert non-integer constant to int
./convlit.go:9: cannot convert non-integer constant to int
./convlit.go:11: overflow converting constant to int
==================================================
=========== ./helloworld.go
hello, world
=========== ./interface2.go
cannot convert type *main.S·interface2 to interface main.I·interface2: missing method Foo
throw: interface conversion
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
=========== ./interface3.go
cannot convert type *main.S·interface3 to interface main.I2·interface3: missing method Name
throw: interface conversion
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx
=========== ./method2.go
BUG: errchk: command succeeded unexpectedly: 6g ./method2.go
=========== ./peano.go
0! = 1
1! = 1
2! = 2
3! = 6
4! = 24
5! = 120
6! = 720
7! = 5040
8! = 40320
9! = 362880
10! = 3628800
=========== ./printbig.go
-9223372036854775808
9223372036854775807
=========== ./turing.go
Hello World!
=========== ken/intervar.go
print 1 bio 2 file 3 -- abc
=========== ken/label.go
100
=========== ken/rob1.go
9876543210
=========== ken/rob2.go
(defn foo (add 12 34))
=========== ken/simpprint.go
hello world
=========== ken/simpswitch.go
0out01out12out2aout34out4fiveout56out6aout78out89out9
=========== ken/string.go
abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
=========== chan/nonblock.go
PASS
=========== bugs/bug020.go
bugs/bug020.go:7: type of a structure field cannot be an open array
BUG should compile
=========== bugs/bug041.go
BUG: compilation succeeds incorrectly
=========== bugs/bug046.go
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug046.go
=========== bugs/bug064.go
bugs/bug064.go:15: illegal types for operand: CALL
int
struct { u int; v int }
BUG: compilation should succeed
=========== bugs/bug080.go
bugs/bug080.go:12: illegal types for operand: CALL
int
struct { x int; y float }
BUG: fails incorrectly
=========== bugs/bug085.go
bugs/bug085.go:8: P: undefined
BUG: fails incorrectly
=========== bugs/bug087.go
bugs/bug087.go:8: illegal combination of literals LEN 9
bugs/bug087.go:8: illegal combination of literals LEN 9
BUG: fails incorrectly
=========== bugs/bug098.go
bugs/bug098.go:10: illegal types for operand: AS
*M
**M
BUG should compile
=========== bugs/bug104.go
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug104.go
=========== bugs/bug105.go
bugs/bug105.go:8: P: undefined
bugs/bug105.go:8: illegal types for operand: RETURN
int
BUG: should compile
=========== bugs/bug108.go
bugs/bug108.go:4: stupid shift: 1025
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug108.go
=========== bugs/bug115.go
bugs/bug115.go:8: overflow converting constant to uint
BUG: bug115 should compile
=========== bugs/bug117.go
bugs/bug117.go:9: undefined DOT get on PS
bugs/bug117.go:9: illegal types for operand: RETURN
int
BUG: should compile
=========== bugs/bug119.go
3 74256
panic PC=xxx
BUG: should not fail
=========== bugs/bug120.go
Bad float64 const: 1e23+8.388608e6 want 1.0000000000000001e+23 got 1e+23
want exact: 100000000000000008388608
got exact: 99999999999999991611392
Bad float64 const: 1e23+1 want 1.0000000000000001e+23 got 1e+23
want exact: 100000000000000008388608
got exact: 99999999999999991611392
BUG: bug120
=========== bugs/bug121.go
BUG: compilation succeeds incorrectly
=========== bugs/bug122.go
BUG: compilation succeeds incorrectly
=========== bugs/bug123.go
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug123.go
=========== bugs/bug124.go
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug124.go
=========== bugs/bug125.go
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug125.go
=========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: overflow converting constant to uint
=========== fixedbugs/bug025.go
fixedbugs/bug025.go:7: variable exported but not defined: Foo
=========== fixedbugs/bug027.go
hi
0 44444
1 3333
2 222
3 11
4 0
0 44444
1 3333
2 222
3 11
4 0
=========== fixedbugs/bug029.go
fixedbugs/bug029.go:6: f is not a type
fixedbugs/bug029.go:6: syntax error near func
fixedbugs/bug029.go:6: syntax error near int
=========== fixedbugs/bug035.go
fixedbugs/bug035.go:6: var i redeclared in this block
previous declaration at fixedbugs/bug035.go:5
fixedbugs/bug035.go:7: var f redeclared in this block
previous declaration at fixedbugs/bug035.go:5
=========== fixedbugs/bug037.go
fixedbugs/bug037.go:6: vlong: undefined
fixedbugs/bug037.go:6: illegal types for operand: AS
undefined
=========== fixedbugs/bug039.go
fixedbugs/bug039.go:6: var x redeclared in this block
previous declaration at fixedbugs/bug039.go:5
=========== fixedbugs/bug049.go
fixedbugs/bug049.go:6: illegal conversion of nil to string
=========== fixedbugs/bug050.go
fixedbugs/bug050.go:3: package statement must be first
sys.6:1 fixedbugs/bug050.go:3: syntax error near package
=========== fixedbugs/bug051.go
fixedbugs/bug051.go:10: expression must be a constant
=========== fixedbugs/bug062.go
fixedbugs/bug062.go:6: illegal conversion of nil to string
fixedbugs/bug062.go:6: illegal types for operand: AS
string
=========== fixedbugs/bug067.go
ok
=========== fixedbugs/bug068.go
fixedbugs/bug068.go:8: unknown escape sequence: '
=========== fixedbugs/bug070.go
outer loop top k 0
inner loop top i 0
do break
broke
=========== fixedbugs/bug072.go
fixedbugs/bug072.go:6: bug: undefined
=========== fixedbugs/bug073.go
fixedbugs/bug073.go:8: illegal types for operand: LSH
int
int
fixedbugs/bug073.go:9: illegal types for operand: RSH
int
int
=========== fixedbugs/bug074.go
fixedbugs/bug074.go:6: syntax error near string
fixedbugs/bug074.go:6: syntax error near string
fixedbugs/bug074.go:7: x: undefined
=========== fixedbugs/bug081.go
fixedbugs/bug081.go:5: syntax error near x
=========== fixedbugs/bug083.go
fixedbugs/bug083.dir/bug1.go:5: syntax error near T0
=========== fixedbugs/bug086.go
fixedbugs/bug086.go:5: function ends without a return statement
=========== fixedbugs/bug090.go
fixedbugs/bug090.go:32: cannot convert non-integer constant to int
fixedbugs/bug090.go:32: illegal types for operand: AS
int
fixedbugs/bug090.go:34: cannot convert non-integer constant to int
fixedbugs/bug090.go:34: illegal types for operand: CALL
bool
fixedbugs/bug090.go:40: cannot convert non-integer constant to int
fixedbugs/bug090.go:40: illegal types for operand: AS
int
float64
=========== fixedbugs/bug091.go
fixedbugs/bug091.go:15: c: undefined
fixedbugs/bug091.go:15: illegal types for operand: AS
undefined
=========== fixedbugs/bug093.go
M
=========== fixedbugs/bug103.go
fixedbugs/bug103.go:8: function requires a return type
=========== fixedbugs/bug113.go
main.I·bug113 is int, not int32
throw: interface conversion
SIGSEGV: segmentation violation
Faulting address: 0x0
pc: xxx