repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
intrinsic_8.f90
blob
a427c70b3012832d16e99e42e269545d8706652b
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