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
/
pr20865.f90
blob
e99eb0bedbfd8e5bc6cdf5063c5a3ae40fc2a385
1
! { dg-do compile }
2
! { dg-options "-std=legacy" }
3
!
4
! PR fortran/20865
5
subroutine
tt
(
j
)
6
integer
::
j
7
end subroutine
8
9
integer
::
i
,
st
10
st
(
i
) = (
i
*
i
+
2
)
11
call
tt
(
st
)
! { dg-error "Statement function .* is not allowed as an actual argument|Invalid procedure argument" }
12
end