Ignore:
Timestamp:
Aug 18, 2021, 2:04:55 PM (9 months ago)
Author:
Henry Xue <y58xue@…>
Branches:
enum, forall-pointer-decay, jacob/cs343-translation, master
Children:
fe8aa21
Parents:
6d63c14
Message:

Update exception tests to use new syntax

Location:
tests/exceptions/cancel
Files:
2 edited

Legend:

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

    r6d63c14 rd00d581  
    22
    33#include <coroutine.hfa>
    4 #include <exception.hfa>
    54
    6 EHM_EXCEPTION(internal_error)();
    7 EHM_VIRTUAL_TABLE(internal_error, internal_vt);
     5exception internal_error {};
     6vtable(internal_error) internal_vt;
    87
    98coroutine WillCancel {};
  • tests/exceptions/cancel/thread.cfa

    r6d63c14 rd00d581  
    22
    33#include <thread.hfa>
    4 #include <exception.hfa>
    54
    6 EHM_EXCEPTION(internal_error)();
    7 EHM_VIRTUAL_TABLE(internal_error, internal_vt);
     5exception internal_error {};
     6vtable(internal_error) internal_vt;
    87
    98thread WillCancel {};
Note: See TracChangeset for help on using the changeset viewer.