altreturn05.f90 176 Bytes
! RUN: %S/test_errors.sh %s %t %f18
! Test extension: RETURN from main program

return !ok
!ERROR: RETURN with expression is only allowed in SUBROUTINE subprogram
return 0
end