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

Subversion Repositories openrisc

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

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

package Discr34_Pkg is
 
   function N return Natural;
 
   type Enum is (One, Two);
 
   type Rec (D : Enum := One) is record
      case D is
	 when One => S : String (1 .. N);
	 when Two => null;
      end case;
   end record;
 
   function F return Rec;
 
end Discr34_Pkg;
 

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.