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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [abstract_private.ads] - Rev 696

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;
 

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.