Abraxas/Misra Home Table of Contents
#include "misra.h"
SI_32
rule42 ( void )
Function Name: rule42()
{SI_32 a = 3;SI_32 i = 3;SI_32 j = 3;SI_32 c = 3;a = i++, i+j; /* RULE 42 */a = ( ( ( ( i++, i+j ) ) ) ) ; /* RULE 42 */a = ( ( ( ( i++ ) , ( i+j ) ) ) ) ; /* RULE 42 */for ( i = 0, j = 0; i < 10; ++i, ++j ){/* DO NOTHING */
}
c = j;
return c;
}
Abraxas/Misra Home Table of Contents