Changeset 2a301ff for tests/exceptions/conditional.cfa
- Timestamp:
- Aug 31, 2023, 11:31:15 PM (2 years ago)
- Branches:
- master
- Children:
- 950c58e
- Parents:
- 92355883 (diff), 686912c (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
-
tests/exceptions/conditional.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/conditional.cfa
r92355883 r2a301ff 3 3 // I may fold this back into terminate.cfa and resume.cfa once setting 4 4 // up the non-trivial exception is reasonable to do. 5 6 #include <fstream.hfa> 5 7 6 8 exception num_error { … … 11 13 12 14 void caught_num_error(int expect, num_error * actual) { 13 printf("Caught num_error: expected=%d actual=%d.\n", expect, actual->num);15 sout | "Caught num_error: expected=" | expect | "actual=" | actual->num | '.'; 14 16 } 15 17
Note:
See TracChangeset
for help on using the changeset viewer.