summaryrefslogtreecommitdiff
path: root/test/golden.out
blob: d3f691102ddee4f2a21fff3c4d5cebc31f1dacf2 (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
202
203
204
205
206
207
208
209

=========== ./func1.go
func1.go:12: var a redeclared in this block
     previous declaration at func1.go:12

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

=========== ./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/bug026.go
sys·printstring: main·sigs_I: not defined
BUG: known to fail incorrectly

=========== bugs/bug027.go
bugs/bug027.go:50: illegal types for operand: CONV
	(<Element>I{})
	(<I>{<val><int32>INT32;})
bugs/bug027.go:50: illegal types for operand: CONV
	(<Element>I{})
	(<I>{<val><int32>INT32;})
BUG: known to fail incorrectly

=========== bugs/bug029.go
BUG: known to succeed incorrectly

=========== bugs/bug032.go
BUG: compilation succeeds incorrectly

=========== bugs/bug041.go
BUG: compilation succeeds incorrectly

=========== bugs/bug047.go
bugs/bug047.go:13: illegal types for operand: CONV
	(<T>{<s><string>*STRING;<f><float32>FLOAT32;})
bugs/bug047.go:16: illegal types for operand: CONV
	(MAP[<int32>INT32]<int32>INT32)
bugs/bug047.go:13: illegal types for operand: CONV
	(<T>{<s><string>*STRING;<f><float32>FLOAT32;})
bugs/bug047.go:16: illegal types for operand: CONV
	(MAP[<int32>INT32]<int32>INT32)
BUG: known to fail incorrectly

=========== bugs/bug048.go
bugs/bug048.go:7: illegal types for operand: CONV
	(MAP[<int32>INT32]<int32>INT32)
bugs/bug048.go:8: syntax error
bugs/bug048.go:7: illegal types for operand: CONV
	(MAP[<int32>INT32]<int32>INT32)
BUG: known to fail incorrectly

=========== bugs/bug054.go
bugs/bug054.go:25: fatal error: agen_inter i2s
BUG: known to fail incorrectly

=========== bugs/bug060.go
BUG: crashes

=========== bugs/bug061.go
bugs/bug061.go:7: illegal types for operand: SLICE
bugs/bug061.go:7: illegal types for operand: AS
	(<string>*STRING)
BUG: known to fail incorrectly

=========== bugs/bug062.go
BUG: known to succeed incorrectly

=========== 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/bug068.go
bugs/bug068.go:6: unknown escape sequence: '
BUG: compilation should succeed

=========== bugs/bug070.go
outer loop top k 0
inner loop top i 0
do break
outer loop top k 1
k not zero
panic on line 310 PC=0x1362
0x1362?zi
	main·main(1, 0, 1606416392, ...)
	main·main(0x1, 0x7fff5fbff808, 0x0, ...)
BUG: crashes
Trace/BPT trap          ./$A.out

=========== bugs/bug072.go
bugs/bug072.go:6: bug: undefined
BUG: compiler crashes after error message - Bus error
Bus error               $G $D/$F.go

=========== bugs/bug073.go
BUG: should not compile

=========== bugs/bug074.go
BUG: compiler crashes - Bus error
Bus error               $G $D/$F.go

=========== bugs/bug075.go
bugs/bug075.go:11: bad shape across assignment - cr=1 cl=2

BUG: known to fail incorrectly

=========== bugs/bug076.go
bugs/bug076.go:11: label redeclared: exit
BUG: known to fail incorrectly

=========== 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/bug081.go
bugs/bug081.go:5: first constant must evaluate an expression
BUG: compiler should not crash
Bus error               $G $D/$F.go

=========== bugs/bug085.go
bugs/bug085.go:8: P: undefined
BUG: fails incorrectly
Bus error               $G $D/$F.go

=========== bugs/bug086.go
4882
BUG: succeeds 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

=========== fixedbugs/bug015.go
fixedbugs/bug015.go:7: overflow converting constant to <int64>INT64

=========== fixedbugs/bug025.go
fixedbugs/bug025.go:7: variable exported but not defined: Foo

=========== 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(306) t=<T> nil

=========== fixedbugs/bug039.go
fixedbugs/bug039.go:6: var x redeclared in this block
     previous declaration at fixedbugs/bug039.go:5

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