OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [assign_from_packed_pixels.ads] - Rev 304

Go to most recent revision | Compare with Previous | Blame | View Log

 
package Assign_From_Packed_Pixels 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;
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.