Better makefile, restructured, more demos
This commit is contained in:
21
demo/trypair.c
Normal file
21
demo/trypair.c
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "exclib.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
TRY {
|
||||
THROW(3, NULL);
|
||||
} CATCH(3) {
|
||||
} ETRY;
|
||||
|
||||
TRY {
|
||||
THROW(3, NULL);
|
||||
} CATCH(3) {
|
||||
TRY {
|
||||
THROW(3, NULL);
|
||||
} ETRY;
|
||||
} ETRY;
|
||||
|
||||
EXCLIB_TRACE("Should never get here");
|
||||
return 0;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user