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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 !
kono
parents:
diff changeset
3 ! PR fortran/52452
kono
parents:
diff changeset
4 !
kono
parents:
diff changeset
5 ! Contributed by Roger Ferrer Ibanez
kono
parents:
diff changeset
6 !
kono
parents:
diff changeset
7 PROGRAM test_etime
kono
parents:
diff changeset
8 IMPLICIT NONE
kono
parents:
diff changeset
9 INTRINSIC :: etime
kono
parents:
diff changeset
10 REAL(4) :: tarray(1:2)
kono
parents:
diff changeset
11 REAL(4) :: result
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 CALL etime(tarray, result)
kono
parents:
diff changeset
14 END PROGRAM test_etime
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 subroutine test_etime2
kono
parents:
diff changeset
17 IMPLICIT NONE
kono
parents:
diff changeset
18 INTRINSIC :: etime
kono
parents:
diff changeset
19 REAL(4) :: tarray(1:2)
kono
parents:
diff changeset
20 REAL(4) :: result
kono
parents:
diff changeset
21
kono
parents:
diff changeset
22 result = etime(tarray)
kono
parents:
diff changeset
23 END subroutine test_etime2