Abraxas/Misra Home  Table of Contents

Module - m08.html

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

Misra-C Test Suite for Module - m08.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 8: Required */

Rule 8: Required */

/* No multibyte characters or wide string literals */

No multibyte characters or wide string literals */
#include "misra.h"
SI_32
int
rule8 ( void ) 



Function Name: rule8()

{
    
SI_32 i = 'abcd'; /*  RULE 8  */
    wchar_t *m = L"Fred"; /*  RULE 8  */
    
    return 1;
    
}

Abraxas/Misra Home  Table of Contents

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