Mercurial > projects > dstress
view run/o/opCat_15_L.d @ 591:34b3845d0e2a
Nick <Nick_member@pathlink.com>
2005-06-21
news:d99i1h$f70$1@digitaldaemon.com
author | thomask |
---|---|
date | Wed, 22 Jun 2005 11:36:08 +0000 |
parents | |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Nick <Nick_member@pathlink.com> // @date@ 2005-06-21 // @uri@ news:d99i1h$f70$1@digitaldaemon.com module dstress.run.o.opCat_15_L; int main(){ real x=1.0; real[] arr; arr = arr ~ x; assert(arr.length==1); assert(arr[0]==1.0); x=0.0; assert(arr[0]==1.0); return 0; }