# HG changeset patch # User Christian Kamm # Date 1220974111 -7200 # Node ID d37b19f7e8bbbab384b4094472e2303417a4a2e0 # Parent 23834ba9736ac9871958c0c0d663d7b04500f612 Move run/c/case_01 to nocompile. diff -r 23834ba9736a -r d37b19f7e8bb nocompile/c/case_01.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/c/case_01.d Tue Sep 09 17:28:31 2008 +0200 @@ -0,0 +1,27 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Paul Guerra +// @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 even though the specification does not +// seem to explicitly forbid it + +module dstress.run.c.case_01; + +int main(){ + int u=2; + + switch(u){ + case 1: + void j(){ + case 2: + u++; + } + break; + } + + return 0; +} diff -r 23834ba9736a -r d37b19f7e8bb run/c/case_01.d --- a/run/c/case_01.d Tue Sep 09 17:03:25 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Paul Guerra -// @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; -}