File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -775,6 +775,7 @@ RUN(NAME func_dep_03 LABELS cpython llvm c)
775775RUN(NAME func_dep_04 LABELS cpython llvm c)
776776RUN(NAME func_internal_def_01 LABELS cpython llvm NOFAST)
777777RUN(NAME func_01 LABELS cpython llvm)
778+ RUN(NAME func_02 LABELS c_sym)
778779
779780RUN(NAME float_01 LABELS cpython llvm c wasm wasm_x64)
780781RUN(NAME recursive_01 LABELS cpython llvm c wasm wasm_x64 wasm_x86)
Original file line number Diff line number Diff line change 1+ from lpython import S
2+ from sympy import pi
3+
4+ def func (r : Out [S ]) -> None :
5+ r = pi
6+
7+ def test_func ():
8+ z : S
9+ func (z )
10+ print (z )
11+ assert z == pi
12+
13+ test_func ()
Original file line number Diff line number Diff line change 11from lpython import S
2- from sympy import pi , Symbol
2+ from sympy import pi
33
44def func () -> S :
55 return pi
@@ -9,4 +9,4 @@ def test_func():
99 print (z )
1010 assert z == pi
1111
12- test_func ()
12+ test_func ()
You can’t perform that action at this time.
0 commit comments