src/HOL/Codegenerator_Test/Code_Test_Scala.thy
author wenzelm
Mon, 01 Jun 2015 13:35:16 +0200
changeset 60328 9c94e6a30d29
parent 59720 f893472fff31
child 61856 4b1b85f38944
permissions -rw-r--r--
clarified context;

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

Test case for test_code on Scala
*)

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

declare [[scala_case_insensitive]]

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

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

end