--  A construct Verada does not support yet reports B7005, with the tranche it arrives in:
--  here an `Unchecked_Conversion` of a record whose component's bounds depend on a
--  discriminant (Verada converts the bits of scalars, and of untagged records and static
--  arrays made of them).
with Ada.Unchecked_Conversion;
package Sensors is
   type Message (Length : Natural := 4) is record
      Text : String (1 .. Length);
   end record;
   type Pair is record
      A, B : Integer;
   end record;
   function To_Pair is new Ada.Unchecked_Conversion (Message, Pair);
end Sensors;
