Changeset fe8aa21 for tests/exceptions/conditional.cfa
- Timestamp:
- Aug 19, 2021, 2:00:19 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- 7620e5d
- Parents:
- 262deda0 (diff), d00d581 (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
r262deda0 rfe8aa21 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.