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_2.f] - Blame information for rev 149

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

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

powered by: WebSVN 2.1.0

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