view nocompile/break_06.d @ 189:e0bcd344aa2b

extended break and switch tests
author thomask
date Thu, 09 Dec 2004 07:44:29 +0000
parents
children 1f6cf5ccfbc9
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

module dstress.nocompile.break_06;

int main(){
	int i=1;
outer:	switch(i){
		case 1:
inner:			switch(i){
				case 1:
					break blah;
				default:
					assert(0);
			}
		default:
			assert(0);
	}
	return 0;
blah:
	assert(0);
}