diff --git a/addons/test/misra/misra-test.c b/addons/test/misra/misra-test.c index 2afa7b8cfec..da9243cf0b7 100644 --- a/addons/test/misra/misra-test.c +++ b/addons/test/misra/misra-test.c @@ -712,6 +712,7 @@ static void misra_10_3(uint32_t u32a, uint32_t u32b) { res = 2U + 3U; // no warning, utlr=unsigned char res = 0.1f; // 10.3 const char c = '0'; // no-warning + bool b = true; // no-warning uint32_t u = UINT32_C(10); // no-warning }