repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
import1.adb
blob
6de432dcab4836e5736b60c122d696b642b2dff1
1
-- { 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
;