Abraxas/Misra Home  Table of Contents

Module - m97.html

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

Misra-C Test Suite for Module - m97.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 97: Advisory */

Rule 97: Advisory */

/* Identifiers in pre-processor directives should be defined before */

Identifiers in pre-processor directives should be defined before */

/* use. */

use. */
#define x ( 0 ) 
#if x > 0 
#endif
#if y > 0 /*  RULE 97  */
#endif
void
func97 ( void ) 



Function Name: func97()

{
    
int i = 1;
    
}

Abraxas/Misra Home  Table of Contents

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