Mercurial > projects > dstress
annotate nocompile/o/opAssign_01_A.d @ 1535:20d8ee6523e1
updated to DMD-1.013
author | thomask |
---|---|
date | Mon, 07 May 2007 05:19:57 +0000 |
parents | b8c0195059d9 |
children |
rev | line source |
---|---|
602 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Chris Sauls <ibisbasenji@gmail.com> | |
607 | 6 // @date@ 2005-07-18 |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4549 |
602 | 8 |
9 module dstress.nocompile.o.opAssign_01_A; | |
10 | |
1535 | 11 void func(ref int[] x){ |
602 | 12 } |
13 | |
14 void main(){ | |
15 int[] foo, bar; | |
16 func(bar = foo.dup); | |
607 | 17 } |