with System;
package Regs is
   type Bank is array (1 .. 4) of Integer with Volatile_Components;
   Ports : Bank := (others => 0);
   Lines : array (1 .. 2) of Boolean := (others => False) with Atomic_Components;
   Flag : Boolean := False with Volatile, No_Caching;
   type Header is record
      Kind : Integer;
   end record with Bit_Order => System.Low_Order_First, Scalar_Storage_Order => System.Low_Order_First;
   type Colour is (Red, Green) with Discard_Names;
   Counter : Integer := 0 with Linker_Section => ".data";
   type Word is new Integer with Universal_Aliasing;
   type Cells is array (1 .. 3) of Integer with Independent_Components;
   function Is_Even (X : Integer) return Boolean is (X mod 2 = 0) with Ghost;
   subtype Even is Integer with Ghost_Predicate => Is_Even (Even);
   function Twice (X : Integer) return Even is (X * 2) with Inline_Always, Pre => X in -1000 .. 1000;
end Regs;
