diff -r 10218426c9e1 -r 08722f90a439 src/HOL/Codegenerator_Test/Generate_Target_Bit_Operations.thy --- a/src/HOL/Codegenerator_Test/Generate_Target_Bit_Operations.thy Mon Oct 20 18:48:27 2025 +0200 +++ b/src/HOL/Codegenerator_Test/Generate_Target_Bit_Operations.thy Mon Oct 20 21:07:53 2025 +0200 @@ -59,26 +59,6 @@ test_code check in Scala -text \Checking the index maximum for \<^verbatim>\PolyML\.\ - -qualified definition \check_max = ()\ - -qualified definition \anchor = (Code_Numeral.drop_bit, check_max)\ - end -code_printing - code_module Check_Max \ - (SML) \ -fun check_max max = - let - val _ = IntInf.~>> (0, max); - val _ = ((IntInf.~>> (0, Word.+ (max, Word.fromInt 1)); raise Fail "Bad max") handle Size => ()) - in () end; -\ - | constant Generate_Target_Bit_Operations.check_max \ - (SML) "check'_max Bit'_Shifts.word'_max'_index" - -test_code \snd Generate_Target_Bit_Operations.anchor = ()\ in PolyML - end