Ignore:
Timestamp:
Aug 18, 2021, 2:04:55 PM (10 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/resume.cfa

    r6d63c14 rd00d581  
    11// Resumption Exception Tests
    22
    3 #include <exception.hfa>
    43#include "except-io.hfa"
    54
    6 EHM_EXCEPTION(yin)();
    7 EHM_EXCEPTION(yang)();
    8 EHM_EXCEPTION(zen)();
     5exception yin {};
     6exception yang {};
     7exception zen {};
    98
    10 EHM_VIRTUAL_TABLE(yin, yin_vt);
    11 EHM_VIRTUAL_TABLE(yang, yang_vt);
    12 EHM_VIRTUAL_TABLE(zen, zen_vt);
     9vtable(yin) yin_vt;
     10vtable(yang) yang_vt;
     11vtable(zen) zen_vt;
    1312
    1413void in_void(void);
Note: See TracChangeset for help on using the changeset viewer.