src/HOL/Codegenerator_Test/Code_Test_SMLNJ.thy
changeset 58626 6c473ed0ac70
parent 58348 2d47c7d10b62
child 59720 f893472fff31
equal deleted inserted replaced
58625:c78b2223f001 58626:6c473ed0ac70
     2     Author:     Andreas Lochbihler, ETH Zurich
     2     Author:     Andreas Lochbihler, ETH Zurich
     3 
     3 
     4 Test case for test_code on SMLNJ
     4 Test case for test_code on SMLNJ
     5 *)
     5 *)
     6 
     6 
     7 theory Code_Test_SMLNJ imports Code_Test begin
     7 theory Code_Test_SMLNJ imports  "../Library/Code_Test" begin
     8 
     8 
     9 test_code "14 + 7 * -12 = (140 div -2 :: integer)" in SMLNJ
     9 test_code "14 + 7 * -12 = (140 div -2 :: integer)" in SMLNJ
    10 
    10 
    11 value [SMLNJ] "14 + 7 * -12 :: integer"
    11 value [SMLNJ] "14 + 7 * -12 :: integer"
    12 
    12