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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [dynamic_elab2.adb] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-gnatE" }
3
 
4
package body Dynamic_Elab2 is
5
 
6
  function Get_Plot return Plot is
7
 
8
    procedure Fill (X : out Plot) is
9
    begin
10
      X.Data := Get_R;
11
    end;
12
 
13
  X : Plot;
14
 
15
  begin
16
    Fill(X);
17
    return X;
18
  end;
19
 
20
end Dynamic_Elab2;

powered by: WebSVN 2.1.0

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