Mercurial > projects > dstress
view run/o/opCat_15_R.d @ 920:5511f9277078
testcase review
author | thomask |
---|---|
date | Sun, 19 Mar 2006 11:29:18 +0000 |
parents | 34b3845d0e2a |
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_R; int main(){ creal x = 1.0Li + 2.0L; creal[] arr; arr = arr ~ x; assert(arr.length==1); assert(arr[0] == 1.0Li + 2.0L); x= 0.0Li + 5.0L; assert(arr[0] == 1.0Li + 2.0L); return 0; }