2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / ltime_gmtime_2.f90
blobc1480b7235610c711a65d07d7b63a0c9fe4dd972
1 ! { dg-do run }
2 ! { dg-options "-fdefault-integer-8 -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