Changeset 27f2bef for tests/exceptions
- Timestamp:
- Aug 7, 2023, 12:40:17 PM (17 months ago)
- Branches:
- master
- Children:
- c34bb1f
- Parents:
- c3e510b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/cor_resumer.cfa
rc3e510b r27f2bef 7 7 vtable(unwind) unwind_vt; 8 8 9 9 10 coroutine Node { int cnt; unwind except; }; 10 11 void ?{}( Node & this, int cnt ) { this.cnt = cnt; } 11 12 13 // builds a list of Node coroutines linked by their last resumer field 14 // the (num_links + 1)th node then triggers unwinding of the list by throwing resumtions at the last resumer 12 15 void main( Node & this ) with( this ) { 13 16 sout | cnt;
Note: See TracChangeset
for help on using the changeset viewer.