Synopsis: | Statements shall not be labelled except for "case" and "default" in a switch-statement. |
Language: | C |
Severity Level: | 3 |
Category: | Statement and Blocks |
Description: |
Justification The only reason for using a labeled statement is to jump to it. Such jumps are forbidden. Example L1:i = 10; /* WRONG */ L1:i = 20; /* WRONG */ T :i = 30; /* WRONG */ |