Abraxas/Misra Home  Table of Contents

Module - m29.html

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

Misra-C Test Suite for Module - m29.c

/* Misra C Enforcement Testing */

Misra C Enforcement Testing */

/* Rule 29: Required */

Rule 29: Required */

/* The use of a tag should be consistent with the declaration. */

The use of a tag should be consistent with the declaration. */

/* This is covered by Rule 1. */

This is covered by Rule 1. */
struct stag { int  a; int b; };
struct stag a1 = { 0, 0 };



Function Name: f29()

void f29( void ) {
	struct stag { int a; } ;	/* rule 5.4 [ m29 ] */
}

Abraxas/Misra Home  Table of Contents

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