Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/except-1.c

    r86d5ba7c rff7ff14a  
    4646        }
    4747        printf("Part C Complete\n");
     48
     49        try {
     50                try {
     51                        throw 7;
     52                }
     53                catch( 7 ) {
     54                        printf("Caught initial throw.\n");
     55                        try {
     56                                throw 8;
     57                        }
     58                        catch( 8 ) {
     59                                printf("Caught intermediate throw.\n");
     60                        }
     61                        throw;
     62                }
     63        }
     64        catch( 7 ) {
     65                printf("Caught final throw.\n");
     66        }
     67        printf("Part D Complete\n");
    4868}
Note: See TracChangeset for help on using the changeset viewer.