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

11 lines
251 B
Fortran

! RUN: %S/test_errors.sh %s %t %f18
! 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