comparison run/delegate_01.d @ 1535:20d8ee6523e1

updated to DMD-1.013
author thomask
date Mon, 07 May 2007 05:19:57 +0000
parents b8c0195059d9
children
comparison
equal deleted inserted replaced
1534:345207906be7 1535:20d8ee6523e1
9 module dstress.run.delegate_01; 9 module dstress.run.delegate_01;
10 10
11 struct List(T){ 11 struct List(T){
12 T[] S; 12 T[] S;
13 13
14 void bug(void delegate(inout T) f){ 14 void bug(void delegate(ref T) f){
15 f(S[0]); 15 f(S[0]);
16 } 16 }
17 } 17 }
18 18
19 int main(){ 19 int main(){