view gcc/testsuite/gnat.dg/lto10_pkg.ads @ 127:4c56639505ff

fix function.c and add CbC-example Makefile
author mir3636
date Wed, 11 Apr 2018 18:46:58 +0900
parents 04ced10e8804
children
line wrap: on
line source

package Lto10_Pkg is

   type U16 is mod 2 ** 16;

   type Position is record
      X, Y, Z : U16;
   end record;
   for Position'Size use 48;

   type Pixel is record
      Pos : Position;
   end record;
   pragma Pack (Pixel);

   Minus_One : Integer := -1;
   Pix : Pixel := (Pos => (X => 0, Y => 0, Z => 0));

end Lto10_Pkg;