src/HOL/Codegenerator_Test/Code_Test_MLton.thy
author wenzelm
Sat, 18 Mar 2017 12:46:52 +0100
changeset 65301 fca593a62785
parent 59720 f893472fff31
child 66453 cc19f7ca2ed6
permissions -rw-r--r--
restore output channels after shutdown, e.g. relevant for saved heap;

(*  Title:      HOL/Codegenerator_Test/Code_Test_MLton.thy
    Author:     Andreas Lochbihler, ETH Zurich

Test case for test_code on MLton
*)

theory Code_Test_MLton imports  "../Library/Code_Test" begin

test_code "14 + 7 * -12 = (140 div -2 :: integer)" in MLton

value [MLton] "14 + 7 * -12 :: integer"

end