Changeset 5a40e4e for tests/exceptions/conditional.cfa
- Timestamp:
- Sep 9, 2021, 3:56:32 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- d0b9247
- Parents:
- dd1cc02 (diff), d8d512e (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
rdd1cc02 r5a40e4e 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.