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_std_5.f03
blob
f5c0f2d9d55645f4a1f1ce8f17961576d702734c
1
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
!
4
! PR fortran/40728
5
!
6
7
! bogus error
8
SUBROUTINE s1
9
IMPLICIT NONE
10
real(4), volatile :: r4
11
12
r4 = 0.0_4
13
r4 = asinh(r4) ! { dg-error "has no IMPLICIT type" }
14
END SUBROUTINE
15
16
17
18
! ICE on invalid (ATANH is defined by F2008 only)
19
SUBROUTINE s2
20
IMPLICIT NONE
21
real :: r
22
r = 0.4
23
print *, atanh(r) ! { dg-error "has no IMPLICIT type" }
24
END SUBROUTINE