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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [discr19.adb] - Rev 338

Compare with Previous | Blame | View Log

-- { dg-do compile }
 
procedure Discr19 is
 
   type Arr_Int_T is array (Integer range <>) of Integer;
 
   type Abs_Tag_Rec_T (N : Integer; M : Integer) is abstract tagged record
      Arr_Int : Arr_Int_T (1..M);
   end record;
 
   type Tag_Rec_T (M : Integer)
     is new Abs_Tag_Rec_T (N => 1, M => M) with null record;
 
begin
   null;
end;
 

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.