mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
34 lines
497 B
C
34 lines
497 B
C
|
|
void nested1(int i) {
|
|
switch (i) {
|
|
case 1:
|
|
i = 1;
|
|
break;
|
|
{
|
|
; ; ; ; ; ; ;
|
|
case 2:
|
|
i = 2;
|
|
break;
|
|
}
|
|
default:
|
|
i = 3;
|
|
}
|
|
}
|
|
|
|
void nested2(int i) {
|
|
switch (i) {
|
|
case 1:
|
|
i = 1;
|
|
break;
|
|
{
|
|
; ; ; ; ; ; ;
|
|
default:
|
|
i = 3;
|
|
}
|
|
case 2:
|
|
i = 2;
|
|
break;
|
|
}
|
|
}
|
|
|