Ignore:
Timestamp:
Feb 21, 2025, 3:16:04 PM (11 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
9506c70
Parents:
8705a11
Message:

Cleaned the warnings from exceptions tests. Mostly explicit fallthrough which we do need for now. There was an error in defaults, although not one that mattered.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/defaults.cfa

    r8705a11 r4be0117  
    6666
    6767void unhandled_test(void) {
     68        void defaultTerminationHandler(unhandled_exception &) {
     69                abort();
     70        }
    6871        forall(T &, V & | is_exception(T, V))
    6972        void defaultTerminationHandler(T &) {
    7073                throw (unhandled_exception){&unhandled_vt};
    71         }
    72         void defaultTerminationHandler(unhandled_exception &) {
    73                 abort();
    7474        }
    7575        try {
Note: See TracChangeset for help on using the changeset viewer.