Skip to content

Commit 9e1f52b

Browse files
committed
TEST: Update reference tests
1 parent 100289c commit 9e1f52b

File tree

68 files changed

+1592
-1592
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1592
-1592
lines changed

tests/reference/asr-array_01_decl-39cf894.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-array_01_decl-39cf894.stdout",
9-
"stdout_hash": "a31f210cef724c6bdf84f10ab9f177708e754b8b32ccbe62f0695d5e",
9+
"stdout_hash": "670c914b3851f034855be4bc0d0672dedb9d81bdf8afb85a4d7a09ba",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-array_01_decl-39cf894.stdout

Lines changed: 68 additions & 68 deletions
Large diffs are not rendered by default.

tests/reference/asr-array_02_decl-e8f6874.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-array_02_decl-e8f6874.stdout",
9-
"stdout_hash": "fd32bda3bbfa7674acd3e6af34142333625aa7f9d7803cacf448fc24",
9+
"stdout_hash": "54f947ef59beab10149fb69a1dafc8691c782ca6b9e0242eba878eda",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-array_02_decl-e8f6874.stdout

Lines changed: 50 additions & 50 deletions
Large diffs are not rendered by default.

tests/reference/asr-bindc_02-bc1a7ea.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-bindc_02-bc1a7ea.stdout",
9-
"stdout_hash": "96064ed45528b0957f33def62b58e5af77b4010fef69f95124fcc5df",
9+
"stdout_hash": "854797162b43a2acc8e656672bb4b30850dcd4a3915d7ef6e579ff37",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-bindc_02-bc1a7ea.stdout

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
_global_symbols:
66
(Module
77
(SymbolTable
8-
204
8+
202
99
{
1010
_lpython_main_program:
1111
(Function
1212
(SymbolTable
13-
203
13+
201
1414
{
1515

1616
})
@@ -33,8 +33,8 @@
3333
[f]
3434
[]
3535
[(CPtrToPointer
36-
(Var 204 queries)
37-
(Var 204 x)
36+
(Var 202 queries)
37+
(Var 202 x)
3838
(ArrayConstant
3939
[(IntegerConstant 1 (Integer 4))]
4040
(Array
@@ -56,13 +56,13 @@
5656
)
5757
(Print
5858
()
59-
[(Var 204 queries)
60-
(Var 204 x)]
59+
[(Var 202 queries)
60+
(Var 202 x)]
6161
()
6262
()
6363
)
6464
(SubroutineCall
65-
204 f
65+
202 f
6666
()
6767
[]
6868
()
@@ -76,11 +76,11 @@
7676
f:
7777
(Function
7878
(SymbolTable
79-
201
79+
199
8080
{
8181
y:
8282
(Variable
83-
201
83+
199
8484
y
8585
[]
8686
Local
@@ -100,7 +100,7 @@
100100
),
101101
yptr1:
102102
(Variable
103-
201
103+
199
104104
yptr1
105105
[]
106106
Local
@@ -122,7 +122,7 @@
122122
),
123123
yq:
124124
(Variable
125-
201
125+
199
126126
yq
127127
[]
128128
Local
@@ -156,15 +156,15 @@
156156
[]
157157
[]
158158
[(=
159-
(Var 201 yq)
159+
(Var 199 yq)
160160
(PointerNullConstant
161161
(CPtr)
162162
)
163163
()
164164
)
165165
(=
166166
(ArrayItem
167-
(Var 201 y)
167+
(Var 199 y)
168168
[(()
169169
(IntegerConstant 0 (Integer 4))
170170
())]
@@ -182,7 +182,7 @@
182182
)
183183
(=
184184
(ArrayItem
185-
(Var 201 y)
185+
(Var 199 y)
186186
[(()
187187
(IntegerConstant 1 (Integer 4))
188188
())]
@@ -199,9 +199,9 @@
199199
()
200200
)
201201
(=
202-
(Var 201 yptr1)
202+
(Var 199 yptr1)
203203
(GetPointer
204-
(Var 201 y)
204+
(Var 199 y)
205205
(Pointer
206206
(Array
207207
(Integer 2)
@@ -216,7 +216,7 @@
216216
(Print
217217
()
218218
[(GetPointer
219-
(Var 201 y)
219+
(Var 199 y)
220220
(Pointer
221221
(Array
222222
(Integer 2)
@@ -226,14 +226,14 @@
226226
)
227227
()
228228
)
229-
(Var 201 yptr1)]
229+
(Var 199 yptr1)]
230230
()
231231
()
232232
)
233233
(Print
234234
()
235235
[(ArrayItem
236-
(Var 201 yptr1)
236+
(Var 199 yptr1)
237237
[(()
238238
(IntegerConstant 0 (Integer 4))
239239
())]
@@ -242,7 +242,7 @@
242242
()
243243
)
244244
(ArrayItem
245-
(Var 201 yptr1)
245+
(Var 199 yptr1)
246246
[(()
247247
(IntegerConstant 1 (Integer 4))
248248
())]
@@ -256,7 +256,7 @@
256256
(Assert
257257
(IntegerCompare
258258
(ArrayItem
259-
(Var 201 yptr1)
259+
(Var 199 yptr1)
260260
[(()
261261
(IntegerConstant 0 (Integer 4))
262262
())]
@@ -279,7 +279,7 @@
279279
(Assert
280280
(IntegerCompare
281281
(ArrayItem
282-
(Var 201 yptr1)
282+
(Var 199 yptr1)
283283
[(()
284284
(IntegerConstant 1 (Integer 4))
285285
())]
@@ -300,8 +300,8 @@
300300
()
301301
)
302302
(CPtrToPointer
303-
(Var 201 yq)
304-
(Var 201 yptr1)
303+
(Var 199 yq)
304+
(Var 199 yptr1)
305305
(ArrayConstant
306306
[(IntegerConstant 2 (Integer 4))]
307307
(Array
@@ -323,8 +323,8 @@
323323
)
324324
(Print
325325
()
326-
[(Var 201 yq)
327-
(Var 201 yptr1)]
326+
[(Var 199 yq)
327+
(Var 199 yptr1)]
328328
()
329329
()
330330
)]
@@ -336,7 +336,7 @@
336336
),
337337
queries:
338338
(Variable
339-
204
339+
202
340340
queries
341341
[]
342342
Local
@@ -356,7 +356,7 @@
356356
),
357357
x:
358358
(Variable
359-
204
359+
202
360360
x
361361
[]
362362
Local
@@ -387,13 +387,13 @@
387387
main_program:
388388
(Program
389389
(SymbolTable
390-
202
390+
200
391391
{
392392
_lpython_main_program:
393393
(ExternalSymbol
394-
202
394+
200
395395
_lpython_main_program
396-
204 _lpython_main_program
396+
202 _lpython_main_program
397397
_global_symbols
398398
[]
399399
_lpython_main_program
@@ -403,7 +403,7 @@
403403
main_program
404404
[_global_symbols]
405405
[(SubroutineCall
406-
202 _lpython_main_program
406+
200 _lpython_main_program
407407
()
408408
[]
409409
()

tests/reference/asr-cast-435c233.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-cast-435c233.stdout",
9-
"stdout_hash": "5d90ea58bb87e57ef8b34f6a9aa9c105ab185bb5f25590d8bd8d0948",
9+
"stdout_hash": "9930a7a16a6727bcf51e3da65058ba2c13d49d548f949bda8e1427cd",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-cast-435c233.stdout

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
_global_symbols:
66
(Module
77
(SymbolTable
8-
128
8+
127
99
{
1010
_lpython_main_program:
1111
(Function
1212
(SymbolTable
13-
127
13+
126
1414
{
1515

1616
})
@@ -33,7 +33,7 @@
3333
[f]
3434
[]
3535
[(SubroutineCall
36-
128 f
36+
127 f
3737
()
3838
[]
3939
()
@@ -53,7 +53,7 @@
5353
(ExternalSymbol
5454
2
5555
list
56-
4 list
56+
3 list
5757
lpython_builtin
5858
[]
5959
list
@@ -253,13 +253,13 @@
253253
main_program:
254254
(Program
255255
(SymbolTable
256-
126
256+
125
257257
{
258258
_lpython_main_program:
259259
(ExternalSymbol
260-
126
260+
125
261261
_lpython_main_program
262-
128 _lpython_main_program
262+
127 _lpython_main_program
263263
_global_symbols
264264
[]
265265
_lpython_main_program
@@ -269,7 +269,7 @@
269269
main_program
270270
[_global_symbols]
271271
[(SubroutineCall
272-
126 _lpython_main_program
272+
125 _lpython_main_program
273273
()
274274
[]
275275
()

tests/reference/asr-complex1-f26c460.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-complex1-f26c460.stdout",
9-
"stdout_hash": "6727f6542ba622e2e2a20e81c6b208f6d936cbaf350a9ae8a4b21f0d",
9+
"stdout_hash": "d7af5c5933f5c392eaf9ad1ee3ce0b4a0825c1dfa458819ca6d53fd3",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

0 commit comments

Comments
 (0)