File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/misra/test/rules/RULE-7-0-6 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,10 @@ void test_user_defined_operators() {
119
119
l1 % l4; // NON_COMPLIANT - different type
120
120
l1 % l5; // NON_COMPLIANT - different signedness
121
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
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
126
126
127
127
l1 | l2; // COMPLIANT - exact type match
128
128
l1 | l3; // COMPLIANT - widening conversion is allowed
You can’t perform that action at this time.
0 commit comments