blob: e8f47f56ab99f2f10377150592a5e2bfbeef1999 [file] [log] [blame]
/* PR c/7652 */
/* { dg-do compile } */
/* { dg-options "-Wimplicit-fallthrough -O2" } */
/* Prevent false positive with optimizations. */
extern void g (int);
void
f (int i)
{
switch (i)
{
case 1:
if (i > 10)
g (0);
else
goto L;
break;
L:
case 2:;
}
}