Mercurial > projects > dstress
comparison 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 |
comparison
equal
deleted
inserted
replaced
1534:345207906be7 | 1535:20d8ee6523e1 |
---|---|
6 // @date@ 2005-07-18 | 6 // @date@ 2005-07-18 |
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4549 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4549 |
8 | 8 |
9 module dstress.nocompile.o.opAssign_01_A; | 9 module dstress.nocompile.o.opAssign_01_A; |
10 | 10 |
11 void func(inout int[] x){ | 11 void func(ref int[] x){ |
12 } | 12 } |
13 | 13 |
14 void main(){ | 14 void main(){ |
15 int[] foo, bar; | 15 int[] foo, bar; |
16 func(bar = foo.dup); | 16 func(bar = foo.dup); |