comparison run/l/lazy_02_A.d @ 1318:e9c13dbd0a8d

[Issue 749] Internal error: toir.c 170 with lazy bool and delegate with default argument Matti Niemenmaa <deewiant@gmail.com> 2006-12-26 http://d.puremagic.com/issues/show_bug.cgi?id=749
author thomask
date Sun, 31 Dec 2006 14:38:09 +0000
parents
children
comparison
equal deleted inserted replaced
1317:4df71a8c82f2 1318:e9c13dbd0a8d
1 // $HeadURL$
2 // $Date$
3 // $Author$
4
5 // @author@ Matti Niemenmaa <deewiant@gmail.com>
6 // @desc@ 2006-12-26
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=749
8 // @desc@ [Issue 749] Internal error: toir.c 170 with lazy bool and delegate with default argument
9
10 module dstress.run.l.lazy_02_A;
11
12 bool nextis(void delegate() dgpositive = {}) {
13 return true;
14 }
15
16 bool looping(lazy bool condition) {
17 return true;
18 }
19
20 int main() {
21 looping(nextis());
22 return 0;
23 }