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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [import1.adb] - Blame information for rev 328

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

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-g" }
3
 
4
package body Import1 is
5
 
6
   procedure Create (Bounds : Arr) is
7
      type Bound_Array is array (Bounds'Range) of Integer;
8
 
9
      procedure Proc (Ptr : access Bound_Array);
10
      pragma Import (C, Proc);
11
 
12
      Temp : aliased Bound_Array;
13
   begin
14
      Proc (Temp'Access);
15
   end;
16
 
17
end Import1;

powered by: WebSVN 2.1.0

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