view gcc/testsuite/gnat.dg/specs/pack5.ads @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

package Pack5 is

   type Small is range -32 .. 31;

   type Arr is array (Integer range <>) of Small;
   pragma Pack (Arr);

   type Rec is record
      Y: Arr (1 .. 10);
    end record;
   pragma Pack (Rec);

end Pack5;