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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do compile }
2
 
3
package body Class_Wide2 is
4
 
5
   procedure Initialize is
6
      Var_Acc : Class_Acc := new Grand_Child;
7
      Var     : Grand_Child'Class := Grand_Child'Class (Var_Acc.all);
8
 
9
   begin
10
      Var := Grand_Child'Class (Var_Acc.all);
11
   end Initialize;
12
 
13
end Class_Wide2;

powered by: WebSVN 2.1.0

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