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
2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
inline_scope.adb
blob
d83ce184f66e1c0283f567a4f36141d7cf72c11c
1
-- { dg-do compile }
2
-- { dg-options "-gnatN" }
3
4
with
inline_scope_p
;
5
procedure
inline_scope
(
X
:
Integer
)
is
6
type
A
is array
(
Integer
range
1
..
2
)
of
Boolean
;
7
S
:
A
;
8
pragma
Warnings
(
Off
,
S
);
9
procedure
Report_List
is
10
begin
11
inline_scope_p
.
Assert
(
S
(
1
),
Natural
'Image
(
Natural
(
1
)));
12
end
Report_List
;
13
begin
14
null
;
15
end
;