--  Enumeration representation clauses whose codes are not one static, increasing code per
--  literal (D196): codes out of order, a literal missing, and a name that is not a literal.
procedure Main is
   type Speed is (Off, Slow, Fast);
   for Speed use (Off => 0, Slow => 8, Fast => 4);
   type Level is (Low, High);
   for Level use (Low => 1);
   type Mode is (Idle, Busy);
   for Mode use (Idle => 0, Asleep => 1);
   S : constant Speed := Off;
   L : constant Level := Low;
   M : constant Mode := Idle;
begin
   null;
end Main;
