Skip to content

Commit

Permalink
Add new para
Browse files Browse the repository at this point in the history
  • Loading branch information
RexJaeschke authored and BillWagner committed Oct 2, 2022
1 parent 068ce90 commit e3bbb85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions standard/statements.md
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,8 @@ The target of a `goto case` statement is the statement list in the immediately e
The target of a `goto default` statement is the statement list in the immediately enclosing `switch` statement ([§12.8.3](statements.md#1283-the-switch-statement)), which contains a `default` label. If the `goto default` statement is not enclosed by a `switch` statement, or if the nearest enclosing `switch` statement does not contain a `default` label, a compile-time error occurs.
It is a compile-time error for *constant_pattern* to target a *switch_label* containing a *case_guard*.
A `goto` statement cannot exit a `finally` block ([§12.11](statements.md#1211-the-try-statement)). When a `goto` statement occurs within a `finally` block, the target of the `goto` statement shall be within the same `finally` block, or otherwise a compile-time error occurs.
A `goto` statement is executed as follows:
Expand Down

0 comments on commit e3bbb85

Please sign in to comment.