Changeset 0a6d2045 for tests/exceptions
- Timestamp:
- Dec 20, 2023, 12:04:33 PM (8 months ago)
- Branches:
- master
- Children:
- 523e300
- Parents:
- 9fba8e6
- Location:
- tests/exceptions
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/.expect/try-ctrl-flow.txt
r9fba8e6 r0a6d2045 15 15 exceptions/try-ctrl-flow.cfa:148:1 error: "break" outside a loop, "switch", or labelled block 16 16 exceptions/try-ctrl-flow.cfa:159:1 error: "return" may not appear in a try statement with a catch clause 17 exceptions/try-ctrl-flow.cfa:187:1 error: "return" may not appear in a catch clause 18 exceptions/try-ctrl-flow.cfa:195:1 error: "return" may not appear in a catchResume clause 17 exceptions/try-ctrl-flow.cfa:187:1 error: "return" may not appear in a catchResume clause -
tests/exceptions/try-ctrl-flow.cfa
r9fba8e6 r0a6d2045 181 181 } 182 182 183 void return_in_catch() {184 try {185 ;186 } catch (nil_exception *) {187 return;188 }189 }190 191 183 void return_in_catchResume() { 192 184 try {
Note: See TracChangeset
for help on using the changeset viewer.