Added test: "testcasebreak"
This commit is contained in:
parent
ae8a914832
commit
e82ac787c6
|
@ -0,0 +1,13 @@
|
|||
|
||||
|
||||
|
||||
void f()
|
||||
{
|
||||
|
||||
switch (a)
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
break;
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
[testcasebreak\testcasebreak.cpp:9]: Possible bug. 'case' without 'break'.
|
Loading…
Reference in New Issue