mirror of
https://github.com/golang/go
synced 2024-11-22 18:04:48 -07:00
68209ed5e3
R=r OCL=15441 CL=15445
294 lines
6.6 KiB
Plaintext
294 lines
6.6 KiB
Plaintext
|
|
=========== ./func1.go
|
|
func1.go:12: var a redeclared in this block
|
|
previous declaration at func1.go:12
|
|
|
|
=========== ./helloworld.go
|
|
hello, world
|
|
|
|
=========== ./map.go
|
|
skipping increment test until bug060 is fixed
|
|
|
|
=========== ./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/shift.go
|
|
ken/shift.go:50: stupid shift: 1025
|
|
ken/shift.go:51: stupid shift: 1025
|
|
ken/shift.go:57: stupid shift: 1025
|
|
ken/shift.go:58: stupid shift: 1025
|
|
ken/shift.go:64: stupid shift: 1025
|
|
ken/shift.go:65: stupid shift: 1025
|
|
|
|
=========== 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/bug026.go
|
|
sys·printstring: main·sigi_I: not defined
|
|
BUG: known to fail incorrectly
|
|
|
|
=========== bugs/bug032.go
|
|
BUG: compilation succeeds incorrectly
|
|
|
|
=========== bugs/bug041.go
|
|
BUG: compilation succeeds incorrectly
|
|
|
|
=========== bugs/bug060.go
|
|
map does not increment
|
|
BUG: map increment
|
|
|
|
=========== bugs/bug064.go
|
|
bugs/bug064.go:15: illegal types for operand: CALL
|
|
(<int32>INT32)
|
|
({<u><int32>INT32;<v><int32>INT32;})
|
|
BUG: compilation should succeed
|
|
|
|
=========== bugs/bug074.go
|
|
bugs/bug074.go:6: syntax error
|
|
bugs/bug074.go:7: x: undefined
|
|
BUG: compiler crashes - Bus error
|
|
|
|
=========== bugs/bug077.go
|
|
BUG: known to succeed incorrectly
|
|
|
|
=========== bugs/bug079.go
|
|
BUG: succeeds incorrectly
|
|
|
|
=========== bugs/bug080.go
|
|
bugs/bug080.go:12: illegal types for operand: CALL
|
|
(<int32>INT32)
|
|
({<x><int32>INT32;<y><float32>FLOAT32;})
|
|
BUG: fails incorrectly
|
|
|
|
=========== bugs/bug083.go
|
|
BUG: succeeds 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/bug088.go
|
|
bugs/bug088.dir/bug1.go:8: shape error across :=
|
|
bugs/bug088.dir/bug1.go:8: a2: undefined
|
|
bugs/bug088.dir/bug1.go:8: b2: undefined
|
|
bugs/bug088.dir/bug1.go:8: illegal types for operand: AS
|
|
(<(bug0)P.int32>INT32)
|
|
BUG: fails incorrectly
|
|
|
|
=========== bugs/bug090.go
|
|
BUG: compilation succeeds incorrectly
|
|
|
|
=========== bugs/bug093.go
|
|
throw: ifaces2i: nil pointer
|
|
SIGSEGV: segmentation violation
|
|
Faulting address: 0x0
|
|
pc: 0x1c11
|
|
|
|
0x1c11?zi
|
|
throw(30465, 0, 0, ...)
|
|
throw(0x7701, 0x0, 0x0, ...)
|
|
0x2113?zi
|
|
sys·ifaces2i(31496, 0, 31536, ...)
|
|
sys·ifaces2i(0x7b08, 0x7b30, 0x0, ...)
|
|
0x136f?zi
|
|
main·main(1, 0, 1606414952, ...)
|
|
main·main(0x1, 0x7fff5fbff268, 0x0, ...)
|
|
|
|
BUG: fails incorrectly
|
|
|
|
=========== bugs/bug094.go
|
|
bugs/bug094.go:11: left side of := must be a name
|
|
bad top
|
|
. LITERAL-I0 l(353)
|
|
bugs/bug094.go:11: fatal error: walktype: top=3 LITERAL
|
|
BUG: fails incorrectly
|
|
|
|
=========== bugs/bug095.go
|
|
found 2, expected 1
|
|
|
|
panic on line 352 PC=0x139e
|
|
0x139e?zi
|
|
main·main(1, 0, 1606414952, ...)
|
|
main·main(0x1, 0x7fff5fbff268, 0x0, ...)
|
|
BUG wrong result
|
|
|
|
=========== bugs/bug097.go
|
|
|
|
panic on line 354 PC=0x13bc
|
|
0x13bc?zi
|
|
main·main(1, 0, 1606414952, ...)
|
|
main·main(0x1, 0x7fff5fbff268, 0x0, ...)
|
|
BUG wrong result
|
|
|
|
=========== bugs/bug098.go
|
|
bugs/bug098.go:10: illegal types for operand: AS
|
|
(*MAP[<int32>INT32]<int32>INT32)
|
|
(**MAP[<int32>INT32]<int32>INT32)
|
|
BUG should compile
|
|
|
|
=========== bugs/bug099.go
|
|
done1
|
|
SIGSEGV: segmentation violation
|
|
Faulting address: 0x0
|
|
pc: 0x0
|
|
|
|
0x0?zi
|
|
panic(5070, 0, 45192, ...)
|
|
panic(0x13ce, 0xb088, 0xb088, ...)
|
|
|
|
|
|
=========== bugs/bug102.go
|
|
throw: index out of range
|
|
SIGSEGV: segmentation violation
|
|
Faulting address: 0x0
|
|
pc: 0x2615
|
|
|
|
0x2615?zi
|
|
throw(31052, 0, 0, ...)
|
|
throw(0x794c, 0x0, 0x1315, ...)
|
|
0x2569?zi
|
|
sys·throwindex(45096, 0, 0, ...)
|
|
sys·throwindex(0xb028, 0x0, 0x0, ...)
|
|
0x1315?zi
|
|
main·main(1, 0, 1606414952, ...)
|
|
main·main(0x1, 0x7fff5fbff268, 0x0, ...)
|
|
|
|
|
|
=========== fixedbugs/bug015.go
|
|
fixedbugs/bug015.go:7: overflow converting constant to <int64>INT64
|
|
|
|
=========== fixedbugs/bug016.go
|
|
fixedbugs/bug016.go:7: overflow converting constant to <uint32>UINT32
|
|
|
|
=========== 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: syntax error
|
|
fixedbugs/bug029.go:6: syntax error
|
|
|
|
=========== 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: fatal error: addvar: n=NAME-s G0 a(1) l(348) t=<T> nil
|
|
|
|
=========== 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 constant to <string>*STRING
|
|
|
|
=========== fixedbugs/bug050.go
|
|
fixedbugs/bug050.go:3: package statement must be first
|
|
sys.6:1 fixedbugs/bug050.go:3: syntax error
|
|
|
|
=========== fixedbugs/bug051.go
|
|
fixedbugs/bug051.go:10: expression must be a constant
|
|
|
|
=========== fixedbugs/bug062.go
|
|
fixedbugs/bug062.go:6: illegal conversion of constant to <string>*STRING
|
|
fixedbugs/bug062.go:6: illegal types for operand: AS
|
|
(<string>*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/bug072.go:6: illegal types for operand: CONV
|
|
(<string>*STRING)
|
|
fixedbugs/bug072.go:6: illegal types for operand: CONV
|
|
(<string>*STRING)
|
|
|
|
=========== fixedbugs/bug073.go
|
|
fixedbugs/bug073.go:8: illegal types for operand: LSH
|
|
(<int32>INT32)
|
|
(<int32>INT32)
|
|
fixedbugs/bug073.go:9: illegal types for operand: RSH
|
|
(<int32>INT32)
|
|
(<int32>INT32)
|
|
|
|
=========== fixedbugs/bug081.go
|
|
fixedbugs/bug081.go:5: syntax error
|
|
|
|
=========== fixedbugs/bug086.go
|
|
fixedbugs/bug086.go:5: function ends without a return statement
|
|
|
|
=========== fixedbugs/bug091.go
|
|
fixedbugs/bug091.go:14: label exit not defined
|