Mercurial > projects > dstress
view run/l/lazy_02_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 | e9c13dbd0a8d |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Matti Niemenmaa <deewiant@gmail.com> // @desc@ 2006-12-26 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=749 // @desc@ [Issue 749] Internal error: toir.c 170 with lazy bool and delegate with default argument module dstress.run.l.lazy_02_B; bool nextis(void delegate() dgpositive = {}) { return true; } bool looping(lazy bool condition) { return true; } int main() { looping(nextis()); looping(nextis()); return 0; }