comparison run/r/ref_01_A.d @ 1517:cf7719e0ef1b

updated to DMD-1.013
author thomask
date Fri, 27 Apr 2007 17:21:32 +0000
parents
children 01c289574a6d
comparison
equal deleted inserted replaced
1516:4576b42ef546 1517:cf7719e0ef1b
1 // $HeadURL$
2 // $Date$
3 // $Author$
4
5 module dstress.run.r.ref_01_A;
6
7 void test(ref int i){
8 i++;
9 }
10
11 int main(){
12 int i = 2;
13 test(i);
14 if(3 != i){
15 assert(0);
16 }
17
18 return 0;
19 }