/* Permit nested C-style comments: */ /* PRQA S 3108 ++ */ /* >>>------------------------------------------------------------ * * File: rule_19.2.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 19.2 (Advisory): * Non-standard characters should not occur in header file names * in #include directives. * * Implemented by messages: * 813 [U] Using any of the characters ' " or /* in '#include * <%s>' gives undefined behaviour. * * 814 [U] Using the characters ' or /* in '#include "%s"' * gives undefined behaviour. * * 831 [E] Use of '\\' in this '#include' line is a PC * extension - this usage is non-portable. * * <<<------------------------------------------------------------ */ /* PRQA S 0883 ++ */ #include "misra.h" #include "m2cmex.h" #if 0 /* No header files exist which correspond to the following #include directives. QAC will generate Hard Errors (Level 9) if this code block is not excluded */ #include ".\abc.h" /* MISRA Violation */ #include "John's.h" /* MISRA Violation */ #include "Fred.h/*temporary*/" /* MISRA Violation */ #include "Money$.h" /* MISRA Violation */ #endif extern S16 test_1902( void ) { return 1; }