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

Update exception tests to use new syntax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/trash.cfa

    r6d63c14 rd00d581  
    11// Make sure throw-catch during unwind does not trash internal data.
    22
    3 #include <exception.hfa>
     3exception yin {};
     4exception yang {};
    45
    5 EHM_EXCEPTION(yin)();
    6 EHM_EXCEPTION(yang)();
    7 
    8 EHM_VIRTUAL_TABLE(yin, yin_vt);
    9 EHM_VIRTUAL_TABLE(yang, yang_vt);
     6vtable(yin) yin_vt;
     7vtable(yang) yang_vt;
    108
    119int main(int argc, char * argv[]) {
Note: See TracChangeset for help on using the changeset viewer.