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 77c8016 commit 01e1216Copy full SHA for 01e1216
integration_tests/CMakeLists.txt
@@ -444,3 +444,4 @@ RUN(NAME global_syms_03_b LABELS cpython llvm c)
444
RUN(NAME global_syms_03_c LABELS cpython llvm c)
445
RUN(NAME global_syms_04 LABELS cpython llvm c wasm wasm_x64)
446
RUN(NAME global_syms_05 LABELS cpython llvm c)
447
+RUN(NAME global_syms_06 LABELS cpython llvm c)
integration_tests/global_syms_06.py
@@ -0,0 +1,9 @@
1
+from lpython import i32
2
+
3
+def test() -> i32:
4
+ temp: i32 = 0
5
+ return temp
6
7
+x: i32 = test()
8
+i: i32 = 10
9
+j: i32 = i
0 commit comments