#include "akerror.h" #include akerr_ErrorContext AKERR_NOIGNORE *improper_closure(void) { PREPARE_ERROR(errctx); ATTEMPT { } CLEANUP { } PROCESS(errctx) { } FINISH(errctx, true); fprintf(stderr, "Improperly returning from improper_closure\n"); } int main(void) { PREPARE_ERROR(errctx); ATTEMPT { CATCH(errctx, improper_closure()); } CLEANUP { } PROCESS(errctx) { } FINISH_NORETURN(errctx); }