Mercurial > projects > dstress
view nocompile/finally_02.d @ 1562:539ede0215a4
r8715@birke: tk | 2007-09-29 23:52:45 +0200
[Issue 1534] Can't mix in a case statement.
<aziz.kerim@gmail.com>
2007-09-26
http://d.puremagic.com/issues/show_bug.cgi?id=1534
author | thomask |
---|---|
date | Sun, 30 Sep 2007 09:44:14 +0000 |
parents | 1f6cf5ccfbc9 |
children |
line wrap: on
line source
// $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__ 13 module dstress.nocompile.finally_02; void test(){ try{ goto label; }finally{ label: int dummy; dummy++; } }