Abraxas/Misra Home  Table of Contents

Module - m25.html

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

Misra-C Test Suite for Module - m25.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 25: Required */

Rule 25: Required */

/* An identifier with external linkage shall have exactly one */

An identifier with external linkage shall have exactly one */

/* external definition. */

external definition. */
#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. */

whole of the compliance suite at once. */
SI_32
rule24 ( void ) /*  RULE 25  */



Function Name: rule24()

{
    
    return 1;
    
}

Abraxas/Misra Home  Table of Contents

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