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

Subversion Repositories openrisc

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

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

-- { dg-do compile }
 
procedure late_overriding is
   package Pkg is
      type I is interface;
      procedure Meth (O : in I) is abstract;
      type Root is abstract tagged null record; 
      type DT1 is abstract new Root and I with null record; 
   end Pkg;
   use Pkg;
   type DT2 is new DT1 with null record; 
   procedure Meth (X : DT2) is begin null; end;  --  Test
begin   
   null;   
end;
 

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.