master
CrossNox 3 years ago
parent c706f527ac
commit 1f328a45c3
  1. 14
      test/rustint/core_test.clj

@ -637,6 +637,9 @@
) )
) )
[; (fn main ( ) { println! ( "{}" , TRES ) }) [use std :: io ; const TRES : i64 = 3] :sin-errores [[0] [[io [lib ()] 0] [[0] [[io [lib ()] 0]] [TRES [const i64] 3]]]] 0 [[CAL 0] HLT] []]
[; (fn main ( ) { println! ( "{}" , TRES ) }) [use std :: io ; const TRES : i64 = 3] :sin-errores [[0] [[io [lib ()] 0] [TRES [const i64] 3]]] 0 [[CAL 0] HLT] []]
(deftest test-cargar-const-en-tabla-02 (deftest test-cargar-const-en-tabla-02
(testing "Test 02 cargar-const-en-tabla" (testing "Test 02 cargar-const-en-tabla"
(is (= (is (=
@ -645,7 +648,10 @@
(list 'fn 'main (symbol "(") (symbol ")") (symbol "{") 'println! (symbol "(") "{}" (symbol ",") 'TRES (symbol ")") (symbol "}")) (list 'fn 'main (symbol "(") (symbol ")") (symbol "{") 'println! (symbol "(") "{}" (symbol ",") 'TRES (symbol ")") (symbol "}"))
['use 'std (symbol "::") 'io (symbol ";") 'const 'TRES (symbol ":") 'i64 (symbol "=") 3] ['use 'std (symbol "::") 'io (symbol ";") 'const 'TRES (symbol ":") 'i64 (symbol "=") 3]
:sin-errores :sin-errores
[[0] [['io ['lib '()] 0]]] [[0] [
['io ['lib '()] 0]
]
]
0 0
[['CAL 0] 'HLT] [['CAL 0] 'HLT]
[] []
@ -656,7 +662,11 @@
(list 'fn 'main (symbol "(") (symbol ")") (symbol "{") 'println! (symbol "(") "{}" (symbol ",") 'TRES (symbol ")") (symbol "}")) (list 'fn 'main (symbol "(") (symbol ")") (symbol "{") 'println! (symbol "(") "{}" (symbol ",") 'TRES (symbol ")") (symbol "}"))
['use 'std (symbol "::") 'io (symbol ";") 'const 'TRES (symbol ":") 'i64 (symbol "=") 3] ['use 'std (symbol "::") 'io (symbol ";") 'const 'TRES (symbol ":") 'i64 (symbol "=") 3]
:sin-errores :sin-errores
[[0] [['io ['lib '()] 0] ['TRES ['const 'i64] 3]]] [[0] [
['io ['lib '()] 0]
['TRES ['const 'i64] 3]
]
]
0 0
[['CAL 0] 'HLT] [['CAL 0] 'HLT]
[] []

Loading…
Cancel
Save