☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
ltime_gmtime_2.f90
☽
☼
gcc/testsuite/gfortran.dg/ltime_gmtime_2.f90
code
plain
raw
1
! { dg-do run }
2
! { dg-options "-fdefault-integer-8 -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)) STOP 1
9
end