Changeset d3cf623 for tests/exceptions/cancel/coroutine.cfa
- Timestamp:
- Dec 20, 2024, 10:52:16 AM (5 weeks ago)
- Branches:
- master
- Children:
- b05d79d
- Parents:
- df91e15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/cancel/coroutine.cfa
rdf91e15 rd3cf623 9 9 coroutine WillCancel {}; 10 10 11 const char * msg(CoroutineCancelled(WillCancel) * this) {11 const char * msg(CoroutineCancelled(WillCancel) *) { 12 12 return "CoroutineCancelled(WillCancel)"; 13 13 } 14 14 15 void main(WillCancel & wc) {15 void main(WillCancel &) { 16 16 sout | '1'; 17 17 cancel_stack((internal_error){&internal_vt}); … … 19 19 } 20 20 21 int main( int argc, char * argv[]) {21 int main() { 22 22 sout | nlOff; 23 23 WillCancel cancel;
Note: See TracChangeset
for help on using the changeset viewer.