Mercurial > projects > dstress
view nocompile/b/break_13_B.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +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__ 21 module dstress.nocompile.b.break_13_B; extern void bar(); void foo() { block: { bar(); for (int i = 0; i < 10; i++) { if (i == 5){ break block; } } assert(0); } }