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] - Blame information for rev 696

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
generic
2
package Abstract_Private is
3
 
4
   type T1 is abstract tagged private;
5
   procedure P1 (X : T1) is abstract;
6
 
7
   type T2 is abstract tagged private;
8
 
9
private
10
 
11
   type T1 is abstract tagged null record;
12
   procedure P2 (X : T1) is abstract; -- { dg-error "must be visible" }
13
 
14
   type T2 is abstract new T1 with null record;
15
   procedure P1 (X : T2) is abstract;
16
 
17
end Abstract_Private;

powered by: WebSVN 2.1.0

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