351
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ h3r3tic <foo@bar.baz>
|
|
6 // @date@ 2004-12-24
|
|
7 // @uri@ news:cqi3v3$r2o$1@digitaldaemon.com
|
1485
|
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2601
|
351
|
9
|
|
10 // function literals cannot call nested functions
|
|
11
|
|
12 // __DSTRESS_ELINE__ 19
|
|
13
|
|
14 module dstress.nocompile.bug_e2ir_299_A;
|
|
15
|
|
16 int main(){
|
|
17 void foo() {}
|
|
18 void function() bar = function void() {
|
|
19 foo();
|
|
20 };
|
|
21 return 0;
|
|
22 }
|