comparison run/b/bug_declaration_440_A.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
10 module dstress.run.b.bug_declaration_440_A; 10 module dstress.run.b.bug_declaration_440_A;
11 11
12 int[] status; 12 int[] status;
13 13
14 class Container { 14 class Container {
15 int opApply (int delegate (inout int) dg) { 15 int opApply (int delegate (ref int) dg) {
16 int counter = 3; 16 int counter = 3;
17 dg(counter); 17 dg(counter);
18 counter--; 18 counter--;
19 dg(counter); 19 dg(counter);
20 return 0; 20 return 0;