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
Fix various issues of -ftrivial-auto-var-init=zero with Ada
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
sso8.adb
blob
003077ce1668b9e71230da8f579ed3e3f0600ba9
1
-- { dg-do run }
2
-- { dg-options "-O" }
3
4
with
Interfaces
;
use
Interfaces
;
5
with
SSO8_Pkg
;
use
SSO8_Pkg
;
6
7
procedure
SSO8
is
8
Data
:
Rec
;
9
begin
10
Data
.
Array_Data
(
2
) :=
True
;
11
Val8
:=
Conv
(
Data
);
12
if
Val8
/=
32
then
13
raise
Program_Error
;
14
end if
;
15
end
;