Abraxas/Misra Home  Table of Contents

Module - m36.html

ABRAXAS SOFTWARE - CodeCheck MISRA Test-Suite Misra-C:1998 Misra-C:2004.

Misra-C Test Suite for Module - m36.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 36: Advisory */

Rule 36: Advisory */

/* Logical operators should not be confused with bitwise operators. */

Logical operators should not be confused with bitwise operators. */

/* Not automatically enforceable. Requires manual inspection techniques. */

Not automatically enforceable. Requires manual inspection techniques. */



Function Name: main()

main() {
 int i;
	if ( 1 & i ) {	/*  rule 36 */
		i++;
	}
}

Abraxas/Misra Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck MISRA Test-Suite Misra-C:1998 Misra-C:2004.