Mercurial > projects > dstress
annotate run/o/opCat_15_K.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 34b3845d0e2a |
children |
rev | line source |
---|---|
591 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Nick <Nick_member@pathlink.com> | |
6 // @date@ 2005-06-21 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4382 |
591 | 8 |
9 module dstress.run.o.opCat_15_K; | |
10 | |
11 int main(){ | |
12 double x=1.0; | |
13 double[] arr; | |
14 | |
15 arr = arr ~ x; | |
16 assert(arr.length==1); | |
17 assert(arr[0]==1.0); | |
18 | |
19 x=0.0; | |
20 assert(arr[0]==1.0); | |
21 | |
22 return 0; | |
23 } |