Mercurial > projects > dstress
annotate nocompile/bug_cgcs_353.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | 1f6cf5ccfbc9 |
children | 774e02c900da |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
111 | 5 // @author@ Regan Heath <regan@netwin.co.nz> |
6 // @date@ 2004-06-10 | |
140 | 7 // @uri@ news:opr9c6ny1b5a2sq9@digitalmars.com |
1383 | 8 // @uri@ nntp://digitalmars.com/digitalmars.D.bugs/438 |
111 | 9 |
338 | 10 // __DSTRESS_ELINE__ 21 |
11 | |
111 | 12 module dstress.nocompile.bug_cgcs_353; |
13 | |
14 struct Bug { | |
15 ubyte[64] buffer; | |
16 | |
17 void fn(ubyte[] input){ | |
18 uint i; | |
19 | |
20 i = 64-buffer.length; | |
21 buffer[] ~= input[0..i]; | |
22 } | |
23 } | |
24 |