File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,8 @@ RUN(NAME test_dict_06 LABELS cpython llvm c)
294
294
RUN (NAME test_dict_07 LABELS cpython llvm )
295
295
RUN (NAME test_dict_08 LABELS cpython llvm c )
296
296
RUN (NAME test_dict_09 LABELS cpython llvm c )
297
- RUN (NAME test_dict_10 LABELS cpython llvm ) # TODO: Add support of dict with string in C backend
297
+ RUN (NAME test_dict_10 LABELS cpython llvm ) # TODO: Add support of dict with string in C backend
298
+ RUN (NAME test_dict_11 LABELS cpython c ) # TODO: Add LLVM support
298
299
RUN (NAME test_for_loop LABELS cpython llvm c )
299
300
RUN (NAME modules_01 LABELS cpython llvm c wasm wasm_x86 wasm_x64 )
300
301
RUN (NAME modules_02 LABELS cpython llvm c wasm wasm_x86 wasm_x64 )
Original file line number Diff line number Diff line change
1
+ from lpython import i32
2
+
3
+ def test_dict_11 ():
4
+ num : dict [i32 , i32 ]
5
+ num = {11 : 22 , 33 : 44 , 55 : 66 }
6
+ assert num .get (7 , - 1 ) == - 1
7
+
8
+ test_dict_11 ()
You can’t perform that action at this time.
0 commit comments