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 0c4e081 commit 6c23486Copy full SHA for 6c23486
integration_tests/CMakeLists.txt
@@ -420,4 +420,5 @@ RUN(NAME comp_01 LABELS cpython llvm wasm wasm_x64)
420
RUN(NAME bit_operations_i32 LABELS cpython llvm wasm wasm_x64)
421
RUN(NAME bit_operations_i64 LABELS cpython llvm wasm)
422
423
-RUN(NAME test_argv_01 LABELS llvm) # TODO: Test using CPython
+RUN(NAME test_argv_01 LABELS llvm) # TODO: Test using CPython
424
+RUN(NAME global_syms_01 LABELS cpython)
integration_tests/global_syms_01.py
@@ -0,0 +1,12 @@
1
+from ltypes import i32
2
+
3
+x: list[i32]
4
+x = [1, 2]
5
+i: i32
6
+i = x[0]
7
8
+def test_global_symbols():
9
+ assert i == 1
10
+ assert x[1] == 2
11
12
+test_global_symbols()
0 commit comments