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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
opt70.adb
blob
fcf55432b1cce5fa2a8ac7c0b26057d559caca6b
1
-- { dg-do run }
2
-- { dg-options "-O2" }
3
4
with
Ada
.
Calendar
;
5
with
Opt70_Pkg
;
6
7
procedure
Opt70
is
8
T
:
Ada
.
Calendar
.
Time
:=
Ada
.
Calendar
.
Time_Of
(
2001
,
10
,
31
);
9
begin
10
if
Opt70_Pkg
.
Image
(
T
,
"%y"
) /=
"01"
then
11
raise
Program_Error
;
12
end if
;
13
end
;