Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/intrinsic_8.f90 @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! | |
3 ! PR fortran/52452 | |
4 ! | |
5 ! Contributed by Roger Ferrer Ibanez | |
6 ! | |
7 PROGRAM test_etime | |
8 IMPLICIT NONE | |
9 INTRINSIC :: etime | |
10 REAL(4) :: tarray(1:2) | |
11 REAL(4) :: result | |
12 | |
13 CALL etime(tarray, result) | |
14 END PROGRAM test_etime | |
15 | |
16 subroutine test_etime2 | |
17 IMPLICIT NONE | |
18 INTRINSIC :: etime | |
19 REAL(4) :: tarray(1:2) | |
20 REAL(4) :: result | |
21 | |
22 result = etime(tarray) | |
23 END subroutine test_etime2 |