OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [itime_idate_1.f] - Blame information for rev 193

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! Test for ITIME and IDATE intrinsics
3
      integer x(3)
4
      call itime(x)
5
      if (x(1) < 0 .or. x(1) > 23 .or.
6
     &    x(2) < 0 .or. x(2) > 59 .or.
7
     &    x(3) < 0 .or. x(3) > 61) call abort
8
      call idate(x)
9
      if (x(1) < 1 .or. x(1) > 31 .or.
10
     &    x(2) < 1 .or. x(2) > 12 .or.
11
     &    x(3) < 2001 .or. x(3) > 2100) call abort
12
      end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.