Debian Codegraph @

gcc/testsuite/gfortran.dg/ltime_gmtime_2.f90

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