int main() { int x = 2; switch(x) { case 1: int y = 0; case 2: y = 4; break; } return 0; } /* Produces this error: 1>Compiling... 1>main.cpp 1>main.cpp(9) : error C2360: initialization of 'y' is skipped by 'case' label 1> main.cpp(8) : see declaration of 'y' */