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-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
specs
/
oconst6.ads
blob
e4c3c50eb0dfa2a0771e3aaa8c162a79f0d8ca10
1
-- { dg-do compile }
2
-- { dg-final { scan-assembler-not "elabs" } }
3
4
package
OCONST6
is
5
6
type
Sequence
is array
(
1
..
1
)
of
Natural
;
7
8
type
Message
is record
9
Data
:
Sequence
;
10
end record
;
11
12
for
Message
'Alignment
use
1
;
13
pragma
PACK
(
Message
);
14
15
ACK
:
Message
:= (
Data
=> (
others
=>
1
));
16
17
end
;
18