| author | wenzelm |
| Sun, 25 Jan 2015 18:31:35 +0100 | |
| changeset 59442 | 9f45b95d3543 |
| parent 58626 | 6c473ed0ac70 |
| child 59720 | f893472fff31 |
| permissions | -rw-r--r-- |
| 58039 | 1 |
(* Title: Code_Test_MLtonL.thy |
2 |
Author: Andreas Lochbihler, ETH Zurich |
|
3 |
||
4 |
Test case for test_code on MLton |
|
5 |
*) |
|
6 |
||
| 58626 | 7 |
theory Code_Test_MLton imports "../Library/Code_Test" begin |
| 58039 | 8 |
|
9 |
test_code "14 + 7 * -12 = (140 div -2 :: integer)" in MLton |
|
10 |
||
|
58348
2d47c7d10b62
add target language evaluators for the value command;
Andreas Lochbihler
parents:
58039
diff
changeset
|
11 |
value [MLton] "14 + 7 * -12 :: integer" |
| 58039 | 12 |
|
13 |
end |