Mercurial > projects > dstress
view run/n/new_28_B.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | 37c81d3385b7 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Frits van Bommel <fvbommel@wxs.nl> // @date@ 2006-12-28 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=765 // @desc@ [Issue 765] ArrayBoundsError when assigning slice of pointer module dstress.run.n.new_28_B; int main(){ uint* x = (new uint[](5)).ptr; x[0 .. 0] = 1; if(*x != 0){ assert(0); } return 0; }