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
PR target/84336
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
validity_check.adb
blob
1bcc084f52c1cc5434c6f40f447ec473b77ddee0
1
-- { dg-do run }
2
-- { dg-options "-O -gnatn -gnatVa -gnatws" }
3
4
pragma
Initialize_Scalars
;
5
6
procedure
Validity_Check
is
7
8
type
Small_Int
is mod
2
**
6
;
9
10
type
Arr
is array
(
1
..
16
)
of
Small_Int
;
11
pragma
Pack
(
Arr
);
12
13
S
:
Small_Int
;
14
A
:
Arr
;
15
16
begin
17
null
;
18
end
;