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
RISC-V: Add support for riscv-*-*.
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
alignment12.adb
blob
0992913250ec95f414a8a792e0cc886ddae05c88
1
-- { dg-do run }
2
-- { dg-options "-gnatws" }
3
4
procedure
Alignment12
is
5
6
type
Rec
is record
7
I
:
Integer
;
8
end record
;
9
10
R
:
Rec
;
11
for
R
'Alignment
use
8
;
12
13
begin
14
if
R
'Size
/=
32
then
15
raise
Program_Error
;
16
end if
;
17
end
;