We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20b5bf6 commit 9b070a0Copy full SHA for 9b070a0
cpp/misra/test/rules/RULE-4-1-1/test.cpp
@@ -78,5 +78,5 @@ typedef int t2 __attribute__((vector_size(16))); // NON_COMPLIANT
78
79
const int g5 = 5;
80
void f12(int p0, int p1[10], int p2[], int p3[g5]) { // COMPLIANT -- not VLAs.
81
- int l0[p0]; // NON_COMPLIANT -- VLA
+ int l0[p0]; // NON_COMPLIANT -- VLA
82
}
0 commit comments