view run/c/case_01.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents f4e98d870b57
children
line wrap: on
line source

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

// @author@	Paul Guerra <Paul_member@pathlink.com>
// @date@	2005-07-29
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4634

// this clearly seems illegal but I can't find any rule combination disallowing it

module dstress.run.c.case_01;

int main(){
	int u=2;

	switch(u){
		case 1:
			void j(){
				case 2:
				u++;
			}
		break;
	}

	return 0;
}