/* >>>------------------------------------------------------------ * * File: rule_19.11.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 19.11 (Required): * All macro identifiers in preprocessor directives shall be * defined before use, except in #ifdef and #ifndef preprocessor * directives and the defined() operator. * * Implemented by message: * 3332 The macro '%s' used in this '#if' or '#elif' expression * is not defined. * * <<<------------------------------------------------------------ */ #include "misra.h" #include "m2cmex.h" #if x < 0 /* MISRA Violation */ #define M 1 #endif extern S16 test_1911( void ) { return 1; }