Sign in
llvm
/
llvm-project
/
flang
/
382759d244408239f9194f89652147b47c100e34
/
.
/
test
/
Semantics
/
altreturn04.f90
blob: 9ed9a7d967541ed1e52e4f44a0df5f55ee6ea6a9 [
file
] [
log
] [
blame
]
!
RUN
:
%
python
%
S
/
test_errors
.
py
%
s
%
flang_fc1
!
Functions
cannot
use
alt
return
REAL FUNCTION altreturn01
(
X
)
!
ERROR
:
RETURN
with
expression
is
only allowed
in
SUBROUTINE subprogram
RETURN
1
END