Abraxas/Misra Home  Table of Contents

Module - m24.html

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

Misra-C Test Suite for Module - m24.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 24: Required */

Rule 24: Required */

/* Identifiers shall not have internal and external linkage */

Identifiers shall not have internal and external linkage */

/* simultaneously in the same translation unit. */

simultaneously in the same translation unit. */
#include "misra.h"
static SI_32 x;
extern SI_32 x; /*  RULE 24  */
static UC_8 y;
SI_32
rule24 ( void ) 



Function Name: rule24()

{
    
extern UC_8 y;
    {
        
extern UC_8 y; /*  RULE 24  */
        
    }
    
    return 1;
    
}

Abraxas/Misra Home  Table of Contents

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