OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [pack2.adb] - Diff between revs 304 and 338

Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 338
-- { dg-do compile }
-- { dg-do compile }
-- { dg-options "-gnatws" }
-- { dg-options "-gnatws" }
 
 
procedure Pack2 is
procedure Pack2 is
 
 
   type Bits_T is record
   type Bits_T is record
      B0, B1, B2: Boolean;
      B0, B1, B2: Boolean;
   end record;
   end record;
 
 
   type State_T is record
   type State_T is record
      Valid : Boolean;
      Valid : Boolean;
      Value : Bits_T;
      Value : Bits_T;
   end record;
   end record;
   pragma Pack (State_T);
   pragma Pack (State_T);
 
 
   procedure Process (Bits : Bits_T) is begin null; end;
   procedure Process (Bits : Bits_T) is begin null; end;
 
 
   State : State_T;
   State : State_T;
 
 
begin
begin
   Process (State.Value);
   Process (State.Value);
end;
end;
 
 

powered by: WebSVN 2.1.0

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