#include "exclib.h"
/*
* What this example shows:
* 1- That an exception will propagate up out of the current TRY/CATCH context
* 2- That an uncaught exception will generate an error
*/
int main(void)
{
TRY {
THROW(3, NULL);
} CLEANUP {
} EXCEPT {
} CATCH(3) {
} FINALLY {
} ETRY;
EXCLIB_TRACE("Should never get here");
return 0;
}