Mercurial > projects > dstress
diff nocompile/finally_05.d @ 338:1f6cf5ccfbc9
1) updated rules to dmd-0.119
2) added __DSTRESS_ELINE__ tags
author | thomask |
---|---|
date | Mon, 21 Mar 2005 20:45:57 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.finally_05; + +void test(){ + + while(1){ + try{ + }finally{ + break; + } + } +}