All pastes #899434 Raw Edit

Untitled

public cpp v1 · immutable
·published 2008-02-11 03:03 UTC
rendered paste body
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.cpp1>main.cpp(9) : error C2360: initialization of 'y' is skipped by 'case' label1>        main.cpp(8) : see declaration of 'y'*/