File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -509,6 +509,7 @@ RUN(NAME loop_04 LABELS cpython llvm c)
509509RUN(NAME loop_05 LABELS cpython llvm c)
510510RUN(NAME loop_06 LABELS cpython llvm c NOFAST)
511511RUN(NAME loop_07 LABELS cpython llvm c)
512+ RUN(NAME loop_08 LABELS cpython llvm c)
512513RUN(NAME if_01 LABELS cpython llvm c wasm wasm_x86 wasm_x64)
513514RUN(NAME if_02 LABELS cpython llvm c wasm wasm_x86 wasm_x64)
514515RUN(NAME if_03 FAIL LABELS cpython llvm c NOFAST)
Original file line number Diff line number Diff line change 1+ from lpython import i32 , Const
2+
3+ def main0 ():
4+ i : i32
5+ n : Const [i32 ] = 10
6+ M2 : Const [i32 ] = 2
7+ y : i32 = 0
8+ for i in range (0 , n , M2 ): # each M2 block in A cols and B rows # !!!!!!!!!!!!!!
9+ y = y + 2
10+ print (y )
11+ assert (y == 10 )
12+
13+ main0 ()
You can’t perform that action at this time.
0 commit comments