Abraxas/Misra Home  Table of Contents

Module - m57.html

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

Misra-C Test Suite for Module - m57.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 57: Required */

Rule 57: Required */

/* The continue statement shall not be used. */

The continue statement shall not be used. */
#include "misra.h"
SI_32
rule57 ( void ) 



Function Name: rule57()

{
    
SI_32 c = 3;
SI_32 i = 3;
    
    for ( i = 0; i < 10; ++i ) 
    {
        
        continue;
        
    }
    
    return c;
    
}

Abraxas/Misra Home  Table of Contents

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