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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [prot2.adb] - Rev 696

Compare with Previous | Blame | View Log

-- { dg-do compile }
 
with Prot2_Pkg1;
with Prot2_Pkg2;
 
package body Prot2 is
 
   type A is array (1 .. Prot2_Pkg1.Num) of Integer;
 
   type E is (One, Two);
 
   type Rec (D : E := One) is record
      case D is
         when One => L : A;
         when Two => null;
      end case;
   end record;
 
   package My_Pkg2 is new Prot2_Pkg2 (Rec);
 
   procedure Dummy is begin null; end;
 
end Prot2;
 

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.