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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

-- { dg-do compile }
 
with Elab2_Pkg; use Elab2_Pkg;
 
package Elab2 is
 
   type Num is (One, Two);
 
   type Rec2 (D : Index_Type := 0) is record
      Data : Rec1(D);
   end record;
 
   type Rec3 (D : Num) is record
      case D is
         when One => R : Rec2;
         when others => null;
      end case;
   end record;
 
end Elab2;
 

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.