Mercurial > projects > dstress
view nocompile/b/break_13_A.d @ 1599:d37b19f7e8bb
Move run/c/case_01 to nocompile.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 17:28:31 +0200 |
parents | 030ce9dfefeb |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <smjg@iname.com> // @date@ 2007-01-10 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=827 // @desc@ [Issue 827] Trying to break out of a labelled BlockStatement breaks out of a for loop at its beginning // __DSTRESS_ELINE__ 18 module dstress.nocompile.b.break_13_A; void foo() { block: { for (int i = 0; i < 10; i++) { if (i == 5){ break block; } } assert(0); } }