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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-gnatE" }
3
 
4
package body Dynamic_Elab1 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_Elab1;

powered by: WebSVN 2.1.0

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