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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [discr9.ads] - Rev 696

Compare with Previous | Blame | View Log

package Discr9 is
 
   type IArr is Array (Natural range <>) of Integer;
   type CArr is Array (Natural range <>) of Character;
 
   type Var_R (D1 : Boolean; D2 : Boolean) is record
      case D1 is
	 when True =>
	    L : IArr (1..4);
	    M1, M2 : CArr (1..16);
	 when False =>
	    null;
      end case;
   end record;
 
   type R (D1 : Boolean; D2 : Boolean) is record
      Field : Var_R (D1, D2);
   end record;
 
   procedure Proc (From : in R; To : out R);
 
end Discr9;
 

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.