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
lto: Remove random_seed from section name.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
statement_function_4.f90
blob
6ce5951b53a1d5515451336b8d0506541ee967d0
1
! { dg-do compile }
2
! PR fortran/69604
3
! Contributed by G.Steinmetz
4
5
program
p
6
x
(
n
) =
1
+
n
(
2.0
)
! { dg-error "Invalid use of statement function argument" }
7
y
(
k
) =
k
()
! { dg-error "Invalid use of statement function argument" }
8
z
(
m
) =
m
! { dg-warning "Statement function" }
9
print
*,
x
(
n
)
10
end