repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LoopReroll] Add an extra defensive check to avoid SCEV assertion.
[llvm-project.git]
/
flang
/
test
/
Semantics
/
altreturn02.f90
blob
ad7a4f8bc0614f5cd5d64268ad0377f6c0063bc4
1
! RUN: %S/test_errors.sh %s %t %flang_fc1
2
! REQUIRES: shell
3
! Check subroutine with alt return
4
5
SUBROUTINE
TEST
(
N
, *, *)
6
IF
(
N
.
EQ
.
0
)
RETURN
7
IF
(
N
.
EQ
.
1
)
RETURN
1
8
RETURN
2
9
END