adding Code_Char_ord to code generation regression tests
authorbulwahn
Wed, 18 May 2011 15:45:33 +0200
changeset 42842 6ef538f6a8ab
parent 42841 9079f49053e5
child 42843 0e594ba0b324
adding Code_Char_ord to code generation regression tests
src/HOL/Codegenerator_Test/Candidates_Pretty.thy
src/HOL/Codegenerator_Test/Generate_Pretty.thy
--- a/src/HOL/Codegenerator_Test/Candidates_Pretty.thy	Wed May 18 15:45:33 2011 +0200
+++ b/src/HOL/Codegenerator_Test/Candidates_Pretty.thy	Wed May 18 15:45:33 2011 +0200
@@ -4,7 +4,7 @@
 header {* Generating code using pretty literals and natural number literals  *}
 
 theory Candidates_Pretty
-imports Candidates Code_Char Efficient_Nat
+imports Candidates Code_Char_ord Efficient_Nat
 begin
 
 end
--- a/src/HOL/Codegenerator_Test/Generate_Pretty.thy	Wed May 18 15:45:33 2011 +0200
+++ b/src/HOL/Codegenerator_Test/Generate_Pretty.thy	Wed May 18 15:45:33 2011 +0200
@@ -9,8 +9,6 @@
 
 lemma [code, code del]: "nat_of_char = nat_of_char" ..
 lemma [code, code del]: "char_of_nat = char_of_nat" ..
-lemma [code, code del]: "(less_eq :: char \<Rightarrow> _) = less_eq" ..
-lemma [code, code del]: "(less :: char \<Rightarrow> _) = less" ..
 
 subsection {* Check whether generated code compiles *}