--  A record representation clause that places its components illegally (D196): a
--  component too narrow for its values, two that share bits, one placed twice, one beyond
--  the record's Size, and a name that is not a component.
procedure Main is
   type Status is record
      Ready : Boolean;
      Count : Integer range 0 .. 300;
      Level : Integer range -4 .. 3;
   end record with Size => 10;
   for Status use record
      Ready at 0 range 0 .. 0;
      Count at 0 range 1 .. 8;
      Level at 0 range 8 .. 10;
      Ready at 1 range 7 .. 7;
      Other at 0 range 11 .. 11;
   end record;
   S : constant Status := (True, 1, 0);
begin
   null;
end Main;
