Changeset 96f5b30 for tests/.expect


Ignore:
Timestamp:
Jan 17, 2020, 3:11:15 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f090750
Parents:
9e63a2b
Message:

Added more tests for statements that are not allowed to be in a finally clause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/except-finally-error.txt

    r9e63a2b r96f5b30  
    11except-finally-error.cfa:7:1 error: 'break' outside a loop, 'switch', or labelled block
    2 except-finally-error.cfa:15:1 error: 'continue' target must be an enclosing loop:
    3 except-finally-error.cfa:32:1 error: 'break' target must be an enclosing control structure: mainLoop
    4 except-finally-error.cfa:40:1 error: 'continue' target must be an enclosing loop: mainLoop
     2except-finally-error.cfa:15:1 error: 'break' outside a loop, 'switch', or labelled block
     3except-finally-error.cfa:23:1 error: 'break' outside a loop, 'switch', or labelled block
     4except-finally-error.cfa:31:1 error: 'continue' target must be an enclosing loop:
     5except-finally-error.cfa:48:1 error: 'break' target must be an enclosing control structure: mainLoop
     6except-finally-error.cfa:56:1 error: 'continue' target must be an enclosing loop: mainLoop
     7except-finally-error.cfa:65:1 error: 'break' outside a loop, 'switch', or labelled block
     8except-finally-error.cfa:76:1 error: 'break' outside a loop, 'switch', or labelled block
     9except-finally-error.cfa:87:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
     10except-finally-error.cfa:98:1 error: 'break' target must be an enclosing control structure: mainBlock
     11except-finally-error.cfa:111:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
     12except-finally-error.cfa:124:1 error: 'fallthrough' must be enclosed in a 'switch' or 'choose'
Note: See TracChangeset for help on using the changeset viewer.