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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [discr28.ads] - Blame information for rev 774

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

Line No. Rev Author Line
1 696 jeremybenn
with Discr28_Pkg;
2
 
3
package Discr28 is
4
 
5
   type Enum is (One, Two);
6
 
7
   type Rec (D : Enum := One) is record
8
      case D is
9
         when One => null;
10
         when Two => S : String (1 .. Discr28_Pkg.N);
11
      end case;
12
   end record;
13
 
14
   Default_Rec : constant Rec := (D => One);
15
 
16
   procedure Proc1;
17
   procedure Proc2;
18
 
19
end Discr28;

powered by: WebSVN 2.1.0

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