void
test_switch(int i)
{
		static int state;

		switch (i) {
		case 1:
			if (some_condition)
				some_function();
			else
				break;
			/* Падаем, если some_condition != 0 */
		case 0:
			state = 0;
			return;
		}

		other_function();
}

void
test_goto(int i)
{
		static int state;
	
		if (i == 1 && some_condition)
			goto callf;
		else if (i == 0)
			goto reset;

		other_function();
		return;
	
callf:	some_function();
reset:	state = 0;
}