Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gnat.dg
/
opt70.adb
blob: fcf55432b1cce5fa2a8ac7c0b26057d559caca6b [
file
] [
log
] [
blame
]
--
{
dg
-
do
run
}
--
{
dg
-
options
"-O2"
}
with
Ada
.
Calendar
;
with
Opt70_Pkg
;
procedure
Opt70
is
T
:
Ada
.
Calendar
.
Time
:=
Ada
.
Calendar
.
Time_Of
(
2001
,
10
,
31
);
begin
if
Opt70_Pkg
.
Image
(
T
,
"%y"
)
/=
"01"
then
raise
Program_Error
;
end
if
;
end
;