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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [late_overriding.adb] - Blame information for rev 304

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
 
3
procedure late_overriding is
4
   package Pkg is
5
      type I is interface;
6
      procedure Meth (O : in I) is abstract;
7
      type Root is abstract tagged null record;
8
      type DT1 is abstract new Root and I with null record;
9
   end Pkg;
10
   use Pkg;
11
   type DT2 is new DT1 with null record;
12
   procedure Meth (X : DT2) is begin null; end;  --  Test
13
begin
14
   null;
15
end;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.