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
2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
ltime_gmtime_1.f90
blob
cdbb973356b117a1edec402a9e49666e60d17628
1
! { dg-do run }
2
! { dg-options "-std=gnu" }
3
integer
::
x
(
9
),
y
(
9
),
t
4
5
t
=
time
()
6
call
ltime
(
t
,
x
)
7
call
gmtime
(
t
,
y
)
8
if
(
x
(
1
) /=
y
(
1
) .
or
.
mod
(
x
(
2
),
30
) /=
mod
(
y
(
2
),
30
))
call
abort
9
end