[LoopReroll] Add an extra defensive check to avoid SCEV assertion.
[llvm-project.git] / flang / test / Semantics / altreturn02.f90
blobad7a4f8bc0614f5cd5d64268ad0377f6c0063bc4
1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
2 ! REQUIRES: shell
3 ! Check subroutine with alt return
5 SUBROUTINE TEST (N, *, *)
6 IF ( N .EQ. 0 ) RETURN
7 IF ( N .EQ. 1 ) RETURN 1
8 RETURN 2
9 END