Abraxas/Misra Home  Table of Contents

Module - m100.html

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

Misra-C Test Suite for Module - m100.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 100: Required */

Rule 100: Required */

/* The defined pre-processor operator shall only be used in one of the */

The defined pre-processor operator shall only be used in one of the */

/* two standard forms. */

two standard forms. */
#if defined d 
#endif
#if defined ( d ) 
#endif
#if defined "d" /*  RULE 100  */
#endif
void
func100 ( void ) 



Function Name: func100()

{
    
int i = 1;
    
}

Abraxas/Misra Home  Table of Contents

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