source: tests/exceptions/ @ b91bfde

Last change on this file since b91bfde was ecfd758, checked in by Andrew Beach <ajbeach@…>, 10 months ago

Major exception update, seperating type-ids from virtual tables. The major interface changes are done. There is a regression of ?Cancelled(T) to Some?Cancelled. There is some bits of code for the new verion of the ?Cancelled(T) interface already there. Not connected yet but I just reached the limit of what I wanted to do in one commit and then spent over a day cleaning up, so it will replace Some?Cancelled in a future commit.

  • Property mode set to 100644
File size: 256 bytes
1// Check that the exception type check works.
3#include <exception.hfa>
7int main(int argc, char * argv[]) {
8        try {} catch (int e) {}
9        try {} catch (truth & e) {}
10        try {} catchResume (int e) {}
11        try {} catchResume (truth & e) {}
Note: See TracBrowser for help on using the repository browser.