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 ed8ccda commit ff57bb4Copy full SHA for ff57bb4
c/cert/test/rules/DCL41-C/test.c
@@ -23,6 +23,8 @@ void f1(int expr) {
23
void f2(int expr) {
24
switch (expr) {
25
case 0:
26
+ 0; // Note: required because a "case" is a label, and not permitted on a
27
+ // declaration, so we need a no-op statement
28
int i = 4; // COMPLIANT
29
case 1:
30
i = 6; // COMPLIANT
0 commit comments