Mercurial > projects > dstress
view run/o/opCat_15_P.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 5511f9277078 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Nick <Nick_member@pathlink.com> // @date@ 2005-06-21 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4382 module dstress.run.o.opCat_15_P; int main(){ cfloat x=1.0fi+2.0f; cfloat[] arr; arr = arr ~ x; assert(arr.length==1); assert(arr[0]==1.0fi+2.0f); x=0.0fi+5.0f; assert(arr[0]==1.0fi+2.0f); return 0; }