We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9492933 commit 8c31c8cCopy full SHA for 8c31c8c
c/misra/test/rules/RULE-2-8/test.c
@@ -113,7 +113,7 @@ void f9() {
113
}
114
115
// Const variable tests:
116
-const int g9 = 1; // COMPLIANT
+const int g9 = 1; // COMPLIANT
117
const int g10 = 1; // NON-COMPLIANT
118
119
void f10() {
@@ -125,7 +125,7 @@ void f10() {
125
126
// Side effects should not disable this rule:
127
void f11() {
128
- int l1 = 1; // COMPLIANT
+ int l1 = 1; // COMPLIANT
129
int l2 = l1++; // COMPLIANT
130
l2;
131
0 commit comments