File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -554,7 +554,8 @@ RUN(NAME test_global LABELS cpython llvm c)
554554RUN(NAME test_global_decl LABELS cpython llvm c)
555555RUN(NAME test_integer_bitnot LABELS cpython llvm c wasm)
556556RUN(NAME test_unsign_int_bitnot LABELS cpython llvm c)
557- RUN(NAME test_ifexp LABELS cpython llvm c)
557+ RUN(NAME test_ifexp_01 LABELS cpython llvm c)
558+ RUN(NAME test_ifexp_02 LABELS cpython llvm c)
558559RUN(NAME test_unary_minus LABELS cpython llvm c)
559560RUN(NAME test_unary_plus LABELS cpython llvm c)
560561RUN(NAME test_bool_binop LABELS cpython llvm c)
File renamed without changes.
Original file line number Diff line number Diff line change 1+ from lpython import i32
2+
3+ def g () -> i32 :
4+ return 10
5+
6+ def f ():
7+ i : i32
8+ j : i32
9+ k : i32
10+ i = 5
11+ j = 6
12+ k = g () if i > j else g () - 1
13+
14+ print (k )
15+ assert k == 9
16+
17+ f ()
You can’t perform that action at this time.
0 commit comments