Abraxas/Misra Home  Table of Contents

Module - m28.html

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

Misra-C Test Suite for Module - m28.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 28: Required */

Rule 28: Required */

/* The register storage class should not be used. */

The register storage class should not be used. */
#include "misra.h"

/* The use of rule24 ( ) is deliberate below. There is another one */

The use of rule24 ( ) is deliberate below. There is another one */

/* elsewhere. The checking tool should find this if it sees the */

elsewhere. The checking tool should find this if it sees the */

/* whole of the compliance suite at once. The other one is defined as */

whole of the compliance suite at once. The other one is defined as */

/* type SI_32. */

type SI_32. */
SI_32
rule28 ( void ) 



Function Name: rule28()

{
    
register SI_32 x; /*  RULE 28  */
    
    return 1;
    
}

Abraxas/Misra Home  Table of Contents

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