PR ipa/83051
[official-gcc.git] / gcc / testsuite / gfortran.dg / ltime_gmtime_1.f90
blobcdbb973356b117a1edec402a9e49666e60d17628
1 ! { dg-do run }
2 ! { dg-options "-std=gnu" }
3 integer :: x(9), y(9), t
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