Changeset d00d581 for tests/exceptions/terminate.cfa
- Timestamp:
- Aug 18, 2021, 2:04:55 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- fe8aa21
- Parents:
- 6d63c14
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/terminate.cfa
r6d63c14 rd00d581 1 1 // Termination Exception Tests 2 2 3 #include <exception.hfa>4 3 #include "except-io.hfa" 5 4 6 EHM_EXCEPTION(yin)();7 EHM_EXCEPTION(yang)();8 EHM_EXCEPTION(zen)();5 exception yin {}; 6 exception yang {}; 7 exception zen {}; 9 8 10 EHM_VIRTUAL_TABLE(yin, yin_vt);11 EHM_VIRTUAL_TABLE(yang, yang_vt);12 EHM_VIRTUAL_TABLE(zen, zen_vt);9 vtable(yin) yin_vt; 10 vtable(yang) yang_vt; 11 vtable(zen) zen_vt; 13 12 14 13 void in_void(void);
Note: See TracChangeset
for help on using the changeset viewer.