Mercurial > projects > dstress
view run/o/opCat_15_R.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 | 5511f9277078 |
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_R; int main(){ creal x=1.0i+2.0; creal[] arr; arr = arr ~ x; assert(arr.length==1); assert(arr[0]==1.0i+2.0); x=0.0i+5.0; assert(arr[0]==1.0i+2.0); return 0; }