Abraxas/Misra Home  Table of Contents

Module - m26.html

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

Misra-C Test Suite for Module - m26.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 26: Required */

Rule 26: Required */

/* If objects are declared more than once they shall be declared */

If objects are declared more than once they shall be declared */

/* compatibly. */

compatibly. */
#include "misra.h"

/* See also rule 27 for xi declaration. */

See also rule 27 for xi declaration. */
extern SI_32 xi;
static SI_32 i;
static SI_16 i; /*  RULE 26  */

/* 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_16
rule24 ( void ) /*  RULE 26  */



Function Name: rule24()

{
    
    return 1;
    
}

Abraxas/Misra Home  Table of Contents

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