Changeset e276be6 for tests


Ignore:
Timestamp:
Apr 6, 2020, 8:50:45 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
9d5d01f
Parents:
23ecea4 (diff), f1b6671 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
tests
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • tests/errors/.expect/completeType.txt

    r23ecea4 re276be6  
    2727    void
    2828  )
    29   Environment:( _85_4_DT ) -> instance of struct A with body 0 (no widening)
     29  Environment:( _85_2_DT ) -> instance of struct A with body 0 (no widening)
    3030
    3131
     
    5050    void
    5151  )
    52   Environment:( _85_4_DT ) -> instance of struct B with body 1 (no widening)
     52  Environment:( _85_2_DT ) -> instance of struct B with body 1 (no widening)
    5353
    5454
  • tests/exceptions/.expect/interact.txt

    r23ecea4 re276be6  
    1414resumption catch, will terminate
    1515inner termination catch
     16
     17throwing resume moon
     18resumption moon catch, will terminate
     19termination catch
     20throwing resume star
     21resumption star catch
  • tests/exceptions/.expect/resume.txt

    r23ecea4 re276be6  
    2525caught second exception
    2626recaught first exception
     27
     28inner catch
     29inner catch
     30outer catch
  • tests/exceptions/.expect/terminate.txt

    r23ecea4 re276be6  
    2424caught second exception
    2525recaught first exception
     26
     27inner catch
     28outer catch
  • tests/exceptions/interact.cfa

    r23ecea4 re276be6  
    8686                printf("outer terminate catch (error)\n");
    8787        }
    88 #if 0
    8988        printf("\n");
    9089
     
    111110                printf("outermost catch (error)\n");
    112111        }
    113 #endif
    114112}
  • tests/exceptions/resume.cfa

    r23ecea4 re276be6  
    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}
  • tests/exceptions/terminate.cfa

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