Changeset 1a6a6f2 for tests/exceptions/conditional.cfa
- Timestamp:
- Aug 19, 2021, 4:04:43 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- d8f8d08
- Parents:
- ed4d7c1 (diff), 315e5e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/conditional.cfa
red4d7c1 r1a6a6f2 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.