Abraxas/Misra Home  Table of Contents

Module - m95.html

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

Misra-C Test Suite for Module - m95.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 95: Required */

Rule 95: Required */

/* Arguments to a function-like macro shall not contain tokens that */

Arguments to a function-like macro shall not contain tokens that */

/* look like pre-processing directives. */

look like pre-processing directives. */
#define TIMES ( x,defined ) (  ( x ) * ( defined )  ) 
void
func95a ( void ) 



Function Name: func95a()

{
    
int j = TIMES ( 1,3 ) ; /*  RULE 95  */
    
}

Abraxas/Misra Home  Table of Contents

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