Changeset d00d581 for tests/exceptions/data-except.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/data-except.cfa
r6d63c14 rd00d581 1 1 // Test exceptions that add data but no functionality. 2 2 3 #include <exception.hfa> 4 5 EHM_EXCEPTION(paired)( 3 exception paired { 6 4 int first; 7 5 int second; 8 );6 }; 9 7 10 EHM_VIRTUAL_TABLE(paired, paired_vt);8 vtable(paired) paired_vt; 11 9 12 10 const char * virtual_msg(paired * this) {
Note: See TracChangeset
for help on using the changeset viewer.