llvm-project/flang/test/Semantics/altreturn01.f90

11 lines
257 B
Fortran

! RUN: %S/test_errors.sh %s %t %flang_fc1
! Check calls with alt returns
CALL TEST (N, *100, *200 )
PRINT *,'Normal return'
STOP
100 PRINT *,'First alternate return'
STOP
200 PRINT *,'Secondnd alternate return'
END