TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
ASML C Coding Standard
Search

Rule:  6.8.1.aChecked automatically with code checker

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 */