summaryrefslogtreecommitdiff
path: root/test/golden.out
blob: b6aef14204ce7df09f8e0ef46f608a1f2b82627b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183

== ./

=========== ./cmp2.go
comparing uncomparable type []int
throw: interface compare

panic PC=xxx

=========== ./cmp3.go
comparing uncomparable type []int
throw: interface compare

panic PC=xxx

=========== ./cmp4.go
hash of unhashable type []int
throw: interface hash

panic PC=xxx

=========== ./cmp5.go
hash of unhashable type []int
throw: interface hash

panic PC=xxx

=========== ./helloworld.go
hello, world

=========== ./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

=========== ./sigchld.go
survived SIGCHLD

=========== ./turing.go
Hello World!

== ken/

=========== 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/

=========== chan/nonblock.go
PASS

== interface/

=========== interface/fail.go
*main.S is not main.I: missing method Foo
throw: interface conversion

panic PC=xxx

=========== interface/returntype.go
*main.S is not main.I2: missing method Name
throw: interface conversion

panic PC=xxx

== fixedbugs/

=========== fixedbugs/bug016.go
fixedbugs/bug016.go:11: constant -3 overflows uint

=========== 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/bug067.go
ok

=========== fixedbugs/bug070.go
outer loop top k 0
inner loop top i 0
do break
broke

=========== fixedbugs/bug081.go
fixedbugs/bug081.go:9: fatal error: typecheck loop

=========== fixedbugs/bug093.go
M

=========== fixedbugs/bug113.go
interface is int, not int32
throw: interface conversion

panic PC=xxx

=========== fixedbugs/bug148.go
2 3
interface is main.T, not main.T·1
throw: interface conversion

panic PC=xxx

== bugs/

=========== bugs/bug136.go
BUG: errchk: command succeeded unexpectedly

=========== bugs/bug162.go
123
BUG: should fail

=========== bugs/bug169.go
BUG: errchk: command succeeded unexpectedly

=========== bugs/bug190.go
bugs/bug190.go:11: invalid recursive type []S
bugs/bug190.go:16: invalid recursive type S
bugs/bug190.go:16: invalid recursive type S
bugs/bug190.go:13: invalid recursive type chan S
bugs/bug190.go:16: invalid recursive type S
bugs/bug190.go:15: invalid recursive type func(S) (S)
BUG: should compile

=========== bugs/bug193.go
BUG: errchk: bugs/bug193.go:14: missing expected error: 'shift'

=========== bugs/bug196.go
too many calls: 5
panic PC=xxx
BUG: bug196

=========== bugs/bug198.go
bugs/bug198.go:8: undefined: T
bugs/bug198.go:8: T is not a type
bugs/bug198.go:8: too many arguments to return
bugs/bug198.go:10: too many arguments to CALL
BUG: errchk: compiler crashed

=========== bugs/bug206.go
0
throw: index out of range

panic PC=xxx
BUG: bug206