Ignore:
Timestamp:
Apr 6, 2020, 4:41:55 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
e276be6
Parents:
057298e
Message:

Unwinding is now handled in exception handling code. That is used to fix one bug, other exception tests added. Noise from the change altered one other test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/resume.cfa

    r057298e rf1b6671  
    9999                printf("caught second exception (bad location)\n");
    100100        }
     101        printf("\n");
     102
     103        // Check successive operations.
     104        try {
     105                try {
     106                        THROW_RESUME(&(zen){});
     107                        THROW_RESUME(&(zen){});
     108                } catchResume (zen *) {
     109                        printf("inner catch\n");
     110                }
     111                THROW_RESUME(&(zen){});
     112        } catchResume (zen *) {
     113                printf("outer catch\n");
     114        }
    101115}
Note: See TracChangeset for help on using the changeset viewer.