We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c1787d commit 244d711Copy full SHA for 244d711
integration_tests/CMakeLists.txt
@@ -571,6 +571,7 @@ RUN(NAME test_unary_op_04 LABELS cpython llvm c) # unary bitinvert
571
RUN(NAME test_unary_op_05 LABELS cpython llvm c) # unsigned unary minus, plus
572
RUN(NAME test_unary_op_06 LABELS cpython llvm c) # unsigned unary bitnot
573
RUN(NAME test_unsigned_01 LABELS cpython llvm c) # unsigned bitshift left, right
574
+RUN(NAME test_unsigned_02 LABELS cpython llvm c)
575
RUN(NAME test_bool_binop LABELS cpython llvm c)
576
RUN(NAME test_issue_518 LABELS cpython llvm c NOFAST)
577
RUN(NAME structs_01 LABELS cpython llvm c)
integration_tests/test_unsigned_02.py
@@ -0,0 +1,10 @@
1
+from lpython import u16, i32
2
+
3
+# test issue 2170
4
5
+i : i32
6
+u : u16 = u16(32768)
7
+x : i32
8
9
+for i in range(i32(u)):
10
+ x = i * 2
0 commit comments