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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [access_discr.adb] - Blame information for rev 774

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

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do compile }
2
 
3
procedure access_discr is
4
 
5
   type One;
6
 
7
   type Iface is limited interface;
8
   type Base  is tagged limited null record;
9
 
10
   type Two_Alone (Parent : access One) is limited null record;
11
   type Two_Iface (Parent : access One) is limited new Iface with null record;
12
   type Two_Base (Parent : access One) is new Base with null record;
13
 
14
   type One is limited record
15
      TA : Two_Alone (One'Access);
16
      TI : Two_Iface (One'Access); --  OFFENDING LINE
17
      TB : Two_Base (One'Access);
18
   end record;
19
 
20
begin
21
   null;
22
end;

powered by: WebSVN 2.1.0

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