Mercurial > projects > dstress
view run/l/lazy_02_C.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +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_C; bool nextis(void delegate() dgpositive = {}) { return true; } bool looping(lazy bool condition) { return true; } int main() { looping(looping(nextis())); return 0; }