We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent23be3db commit61ae04fCopy full SHA for 61ae04f
cpp/misra/test/rules/RULE-7-0-6/test_operators.cpp
@@ -119,10 +119,10 @@ void test_user_defined_operators() {
119
l1 % l4;// NON_COMPLIANT - different type
120
l1 % l5;// NON_COMPLIANT - different signedness
121
122
- l1 &l2;// COMPLIANT - exact type match
123
- l1 &l3;// COMPLIANT - widening conversion is allowed
124
- l1 &l4;// NON_COMPLIANT - different type
125
- l1 &l5;// NON_COMPLIANT - different signedness
+ l1 &l2;// COMPLIANT - exact type match
+ l1 &l3;// COMPLIANT - widening conversion is allowed
+ l1 &l4;// NON_COMPLIANT - different type
+ l1 &l5;// NON_COMPLIANT - different signedness
126
127
l1 | l2;// COMPLIANT - exact type match
128
l1 | l3;// COMPLIANT - widening conversion is allowed