File tree 3 files changed +20
-12
lines changed 3 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ RUN(NAME expr_12 LABELS llvm c)
255
255
RUN(NAME expr_13 LABELS llvm c
256
256
EXTRAFILES expr_13b.c)
257
257
RUN(NAME expr_14 LABELS cpython llvm c)
258
+ RUN(NAME expr_15 LABELS cpython llvm c)
258
259
RUN(NAME loop_01 LABELS cpython llvm c)
259
260
RUN(NAME loop_02 LABELS cpython llvm c wasm wasm_x86 wasm_x64)
260
261
RUN(NAME loop_03 LABELS cpython llvm c wasm wasm_x64)
Original file line number Diff line number Diff line change @@ -52,18 +52,6 @@ def test_floor_div_9_digits():
52
52
x8 = i64 (123456789 )
53
53
assert x8 // y8 == i64 (12345678 )
54
54
55
- def test_issue_1586 ():
56
- x4 : i16
57
- y4 : i16
58
- y4 = i16 (10 )
59
- x4 = i16 (12345 )
60
- assert x4 // y4 == i16 (1234 )
61
-
62
- a4 : i8
63
- b4 : i8
64
- a4 = i8 (10 )
65
- b4 = i8 (123 )
66
- assert b4 // a4 == i8 (12 )
67
55
68
56
def check ():
69
57
test_issue_255 ()
Original file line number Diff line number Diff line change
1
+ from ltypes import i8 , i16
2
+
3
+ def test_issue_1586 ():
4
+ x4 : i16
5
+ y4 : i16
6
+ y4 = i16 (10 )
7
+ x4 = i16 (12345 )
8
+ assert x4 // y4 == i16 (1234 )
9
+
10
+ a4 : i8
11
+ b4 : i8
12
+ a4 = i8 (10 )
13
+ b4 = i8 (123 )
14
+ assert b4 // a4 == i8 (12 )
15
+
16
+ def check ():
17
+ test_issue_1586 ()
18
+
19
+ check ()
You can’t perform that action at this time.
0 commit comments