Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/conditional.cfa

    rfe0b94f rd00d581  
    33// I may fold this back into terminate.cfa and resume.cfa once setting
    44// up the non-trivial exception is reasonable to do.
    5 
    6 #include <fstream.hfa>
    75
    86exception num_error {
     
    1311
    1412void caught_num_error(int expect, num_error * actual) {
    15         sout | "Caught num_error: expected=" | expect | "actual=" | actual->num | '.';
     13        printf("Caught num_error: expected=%d actual=%d.\n", expect, actual->num);
    1614}
    1715
Note: See TracChangeset for help on using the changeset viewer.