Mercurial > projects > dstress
view run/o/opCat_15_B.d @ 1533:ac560364010c
enforce checks for -release builds
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:36:34 +0000 |
parents | b8c0195059d9 |
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_B; int main(){ byte x=1; byte[] arr; arr = arr ~ x; assert(arr.length==1); assert(arr[0]==1); x=0; assert(arr[0]==1); return 0; }