Abraxas/Misra Home Table of Contents
#include "misra.h"
SI_32
rule59 ( void )
Function Name: rule59()
{SI_32 c = 3;SI_32 i = 3;if ( i == 3 )c = 4; /* RULE 59 */elsec = 5; /* RULE 59 */if ( i == 3 ){c = 3;}else if ( i == 3 )c = 2; /* RULE 59 */while ( ( ++i ) < 10 )c = 2; /* RULE 59 */while ( ( ++i ) < 10 ){c = 2;}doc = 2; /* RULE 59 */while ( ( ++i ) < 10 ) ;do{c = 2;}while ( ( ++i ) < 10 ) ;for ( i = 0; i < 10; ++i )c = 2; /* RULE 59 */for ( i = 0; i < 10; ++i ){c = 2;}return c;
}
Abraxas/Misra Home Table of Contents