src/HOL/Codegenerator_Test/Code_Test_SMLNJ.thy
changeset 66453 cc19f7ca2ed6
parent 59720 f893472fff31
child 68155 8b50f29a1992
equal deleted inserted replaced
66452:450cefec7c11 66453:cc19f7ca2ed6
     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  "../Library/Code_Test" begin
     7 theory Code_Test_SMLNJ imports  "HOL-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