summaryrefslogtreecommitdiff
path: root/test/golden.out
blob: d6d9d576a125a7cd8b546c5d3f3aacdac65495a9 (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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201

== ./

=========== ./cmp2.go
panic: runtime error: comparing uncomparable type []int

panic PC=xxx

=========== ./cmp3.go
panic: runtime error: comparing uncomparable type []int

panic PC=xxx

=========== ./cmp4.go
panic: runtime error: hash of unhashable type []int

panic PC=xxx

=========== ./cmp5.go
panic: runtime error: hash of unhashable type []int

panic PC=xxx

=========== ./deferprint.go
printing: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
42 true false true +1.500000e+000 world 0x0 [0/0]0x0 0x0 0x0 255

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

=========== ./printbig.go
-9223372036854775808
9223372036854775807

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

=========== ./sinit.go
FAIL

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

=========== ./zerodivide.go
int16 0/0: expected "divide"; got "runtime error: floating point error"
int16 1/0: expected "divide"; got "runtime error: floating point error"
uint16 0/0: expected "divide"; got "runtime error: floating point error"
uint16 1/0: expected "divide"; got "runtime error: floating point error"
complex 0/0: expected no error; got "runtime error: complex divide by zero"
complex64 0/0: expected no error; got "runtime error: complex divide by zero"
complex128 0/0: expected no error; got "runtime error: complex divide by zero"
complex 1/0: expected no error; got "runtime error: complex divide by zero"
complex64 1/0: expected no error; got "runtime error: complex divide by zero"
complex128 1/0: expected no error; got "runtime error: complex divide by zero"

== ken/

=========== ken/cplx0.go
(+5.000000e+000+6.000000e+000i)
(+5.000000e+000+6.000000e+000i)
(+5.000000e+000+6.000000e+000i)
(+5.000000e+000+6.000000e+000i)

=========== ken/cplx3.go
(+1.292308e+000-1.384615e-001i)
(+1.292308e+000-1.384615e-001i)
64

=========== ken/cplx4.go
c = (-5.000000-6.000000i)
c = (5.000000+6.000000i)
c = (5.000000+6.000000i)
c = (5.000000+6.000000i)
c = (5+6i)
c = (13+7i)

=========== ken/cplx5.go
(+5.000000e+000-5.000000e+000i)
(+5.000000e+000-5.000000e+000i)
(+5.000000e+000-5.000000e+000i)
(+5.000000e+000-5.000000e+000i)
(+5.000000e+000-5.000000e+000i)
(+5.000000e+000-5.000000e+000i)
(+5.000000e+000-5.000000e+000i)

=========== 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/doubleselect.go
PASS

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

== interface/

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

panic PC=xxx

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

panic PC=xxx

== nilptr/

== syntax/

== 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: typechecking loop

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

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

panic PC=xxx

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

panic PC=xxx

== bugs/

=========== bugs/bug260.go
FAIL
BUG: bug260 failed

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

=========== bugs/bug286.go
test2 called g
panic: wrong method called

panic PC=xxx
BUG: bug286 failed