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

Subversion Repositories openrisc

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

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

package Discr35 is
 
  type Rec1 is tagged null record;
 
  type Enum is (One, Two);
 
  type Rec2 (D : Enum := One) is
  record
    case D is
      when One => null;
      when Two => R : Rec1;
    end case;
  end record;
 
   Null_Rec2 : Constant Rec2;
 
   procedure Proc1;
 
   procedure Proc2;
 
private
 
   Null_Rec2 : Constant Rec2 := (D => One);
 
end Discr35;
 

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.