Abraxas/Misra Home Table of Contents
#include "misra.h"
SI_32
rule39 ( void )
Function Name: rule39()
{UI_32 a = 3;SI_64 b = 3;UI_64 d = 3;UI_16 e = 3;SI_32 c = 3;if ( sizeof ( short ) == sizeof ( int ) ){a = - e;}else if ( sizeof ( unsigned int ) == sizeof ( long ) ){d = - ( a + b ) ; /* RULE 39 */}else{/* error - Test failed. */
}
return c;
}
Abraxas/Misra Home Table of Contents