Mercurial > projects > dstress
diff nocompile/finally_06.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 | e38919011244 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,18 @@ +// $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__ 14 + +module dstress.nocompile.finally_06; + +void test(){ + while(1){ + try{ + }finally{ + continue; + } + } +}