We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f7e7f5 commit fe4f98eCopy full SHA for fe4f98e
integration_tests/CMakeLists.txt
@@ -494,6 +494,7 @@ RUN(NAME test_types_02 LABELS cpython llvm c wasm)
494
RUN(NAME test_str_01 LABELS cpython llvm c)
495
RUN(NAME test_str_02 LABELS cpython llvm c)
496
RUN(NAME test_str_03 LABELS cpython llvm c)
497
+RUN(NAME test_str_04 LABELS cpython llvm c wasm)
498
RUN(NAME test_list_01 LABELS cpython llvm c)
499
RUN(NAME test_list_02 LABELS cpython llvm c)
500
RUN(NAME test_list_03 LABELS cpython llvm c NOFAST)
integration_tests/test_str_04.py
@@ -0,0 +1,11 @@
1
+def main0():
2
+ x: str
3
+ x = "abcdefghijkl"
4
+ print(len(x))
5
+ assert len(x) == 12
6
+
7
+ y: str = "123"
8
+ print(len(y))
9
+ assert len(y) == 3
10
11
+main0()
0 commit comments