view gcc/testsuite/gnat.dg/pack9.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 Pack9 is

  type R1 is record
    I : Integer;
    C : Character;
  end record;

  type R2 is record
    I1, I2 : Integer;
    A : R1;
  end record;
  pragma Pack(R2);

  type R2_Ptr is access all R2;

  procedure Copy (X, Y : R2_Ptr);

end Pack9;