Sign in
llvm
/
llvm-test-suite
/
refs/heads/main
/
.
/
Fortran
/
gfortran
/
regression
/
pure_formal_1.f90
blob: 4e62cf9dee67cad79e9cd657a982d7ece7425108 [
file
] [
log
] [
blame
]
!
{
dg
-
do
compile
}
!
!
PR fortran
/
47507
!
!
PURE procedures
:
Allow
arguments w
/
o INTENT
if
they are VALUE
!
pure
function
f
(
x
)
real
,
VALUE
::
x
real
::
f
f
=
sin
(
x
)
end
function
f
pure subroutine
sub
(
x
)
real
,
VALUE
::
x
end
subroutine
sub