This is an easy bug to reproduce as a program with only "end" fails.
regression test
----------------
end
----------------
Output from ROSE:
Assertion failed: (astScopeStack.front()->get_endOfConstruct()->get_line() != astScopeStack.front()->get_startOfConstruct()->get_line()), function c_action_end_program_stmt, file ../../../../rose-0.9.5a-16734/src/frontend/OpenFortranParser_SAGE_Connection/FortranParserActionROSE.C, line 16035.
Abort trap