Mercurial > projects > dstress
view nocompile/bug_cgcs_353.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | 1f6cf5ccfbc9 |
children | 774e02c900da |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Regan Heath <regan@netwin.co.nz> // @date@ 2004-06-10 // @uri@ news:opr9c6ny1b5a2sq9@digitalmars.com // @uri@ nntp://digitalmars.com/digitalmars.D.bugs/438 // __DSTRESS_ELINE__ 21 module dstress.nocompile.bug_cgcs_353; struct Bug { ubyte[64] buffer; void fn(ubyte[] input){ uint i; i = 64-buffer.length; buffer[] ~= input[0..i]; } }