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/] [specs/] [abstract_private.ads] - Rev 313

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

generic
package Abstract_Private is
 
   type T1 is abstract tagged private;
   procedure P1 (X : T1) is abstract;
 
   type T2 is abstract tagged private;
 
private
 
   type T1 is abstract tagged null record;
   procedure P2 (X : T1) is abstract; -- { dg-error "must be visible" }
 
   type T2 is abstract new T1 with null record;
   procedure P1 (X : T2) is abstract;
 
end Abstract_Private;
 

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.