646
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com>
|
|
6 // @date@ 2005-07-14
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4532
|
646
|
8
|
660
|
9 module dstress.run.f.forward_reference_15_A;
|
646
|
10
|
|
11 class Foo(TYPE){
|
|
12 static int function(TYPE a) myLilFunction;
|
1091
|
13
|
646
|
14 void func(int function(TYPE a) theParameter = myLilFunction){
|
|
15 }
|
|
16 }
|
|
17
|
|
18 int main(){
|
|
19 Foo!(int) foo = new Foo!(int);
|
|
20 foo.func();
|
|
21 return 0;
|
1091
|
22 }
|