Abraxas/Misra Home  Table of Contents

Module - m84.html

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

Misra-C Test Suite for Module - m84.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 84: Required */

Rule 84: Required */

/* For functions with void return type, return statements shall not */

For functions with void return type, return statements shall not */

/* have an expression. */

have an expression. */
#include "misra.h"
void func84a ( void ) 



Function Name: func84a()

{
    
SC_8 pc = '\0';
    
    return pc; /*  RULE 84  */
    
}
void func84b ( void ) 



Function Name: func84b()

{
    
SC_8 pc = '\0';
    
    return; 
    
}

Abraxas/Misra Home  Table of Contents

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