2015-05-04 Andrew Sutton <andrew.n.sutton@gmail.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / import1.adb
blob6de432dcab4836e5736b60c122d696b642b2dff1
1 -- { dg-do compile }
2 -- { dg-options "-g" }
4 package body Import1 is
6 procedure Create (Bounds : Arr) is
7 type Bound_Array is array (Bounds'Range) of Integer;
9 procedure Proc (Ptr : access Bound_Array);
10 pragma Import (C, Proc);
12 Temp : aliased Bound_Array;
13 begin
14 Proc (Temp'Access);
15 end;
17 end Import1;