Changeset 4be0117 for tests/exceptions/defaults.cfa
- Timestamp:
- Feb 21, 2025, 3:16:04 PM (11 months ago)
- Branches:
- master
- Children:
- 9506c70
- Parents:
- 8705a11
- File:
-
- 1 edited
-
tests/exceptions/defaults.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/defaults.cfa
r8705a11 r4be0117 66 66 67 67 void unhandled_test(void) { 68 void defaultTerminationHandler(unhandled_exception &) { 69 abort(); 70 } 68 71 forall(T &, V & | is_exception(T, V)) 69 72 void defaultTerminationHandler(T &) { 70 73 throw (unhandled_exception){&unhandled_vt}; 71 }72 void defaultTerminationHandler(unhandled_exception &) {73 abort();74 74 } 75 75 try {
Note:
See TracChangeset
for help on using the changeset viewer.