Changeset d00d581 for tests/exceptions/conditional.cfa
- Timestamp:
- Aug 18, 2021, 2:04:55 PM (5 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- fe8aa21
- Parents:
- 6d63c14
- File:
-
- 1 edited
-
tests/exceptions/conditional.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/conditional.cfa
r6d63c14 rd00d581 4 4 // up the non-trivial exception is reasonable to do. 5 5 6 #include <exception.hfa> 6 exception num_error { 7 int num; 8 }; 7 9 8 EHM_EXCEPTION(num_error)( 9 int num; 10 ); 11 12 EHM_VIRTUAL_TABLE(num_error, num_error_vt); 10 vtable(num_error) num_error_vt; 13 11 14 12 void caught_num_error(int expect, num_error * actual) {
Note:
See TracChangeset
for help on using the changeset viewer.