Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/cancel/thread.cfa

    rab8c6a6 r8edbe40  
    44#include <exception.hfa>
    55
    6 TRIVIAL_EXCEPTION(internal_error);
     6EHM_EXCEPTION(internal_error)();
     7EHM_VIRTUAL_TABLE(internal_error, internal_vt);
    78
    89thread WillCancel {};
     
    1415void main(WillCancel &) {
    1516        printf("1");
    16         cancel_stack((internal_error){});
     17        cancel_stack((internal_error){&internal_vt});
    1718        printf("!");
    1819}
Note: See TracChangeset for help on using the changeset viewer.