FX Coudert wrote:
I'd like to include cases in the gfortran testsuite to check that we correctly issue a run-time error, and exit with non-zero code.
Try dg-error. There are lots of examples to look at in existing testcases, including in the gfortran.dg directory.
-- Jim Wilson, GNU Tools Support, http://www.specifix.com