- File:
-
- 1 edited
-
tests/exceptions/cancel/coroutine.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/cancel/coroutine.cfa
rb583113 rafe2939 4 4 #include <exception.hfa> 5 5 6 EHM_EXCEPTION(internal_error)(); 7 EHM_VIRTUAL_TABLE(internal_error, internal_vt); 6 TRIVIAL_EXCEPTION(internal_error); 8 7 9 8 coroutine WillCancel {}; … … 15 14 void main(WillCancel & wc) { 16 15 printf("1"); 17 cancel_stack((internal_error){ &internal_vt});16 cancel_stack((internal_error){}); 18 17 printf("!"); 19 18 }
Note:
See TracChangeset
for help on using the changeset viewer.