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

Subversion Repositories openrisc

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

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

with Discr28_Pkg;
 
package Discr28 is
 
   type Enum is (One, Two);
 
   type Rec (D : Enum := One) is record
      case D is
         when One => null;
         when Two => S : String (1 .. Discr28_Pkg.N);
      end case;
   end record;
 
   Default_Rec : constant Rec := (D => One);
 
   procedure Proc1;
   procedure Proc2;
 
end Discr28;
 

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.