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
/
altreturn05.f90
blob
ad4f101cc14fd30680848c548bf49de10cd5c05e
1
! RUN: %S/test_errors.sh %s %t %flang_fc1
2
! REQUIRES: shell
3
! Test extension: RETURN from main program
4
5
return
!ok
6
!ERROR: RETURN with expression is only allowed in SUBROUTINE subprogram
7
return
0
8
end