2 ms·
That might have issues with fallthrough. case 'a': int x = 7; // no break; case 'b': // Did we get here through 'b', or through 'a'? // Is
by AnimalMuppet 3y ago
That might have issues with fallthrough.
case 'a':
int x = 7;
// no break;
case 'b':
// Did we get here through 'b', or through 'a'?
// Is x in scope, or not? Is it initialized, or not?