Abraxas/Misra Home  Table of Contents

Module - m108.html

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

Misra-C Test Suite for Module - m108.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 108: Required */

Rule 108: Required */

/* In the specification of a structure or union type, all members of */

In the specification of a structure or union type, all members of */

/* the structure or union shall be fully specified. */

the structure or union shall be fully specified. */
#include "misra.h"
static void
func108 ( void ) 



Function Name: func108()

{
struct s v;
struct s {
        int mem;
	foo;	/*  rule 108 vacous member, e.g. no explicit type 18.2 */
    };
}

Abraxas/Misra Home  Table of Contents

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