Mercurial > projects > dstress
annotate nocompile/bug_cgcs_353.d @ 140:a33ad7189d21
1) news:// -> news:
2) nttp://.../...:... -> nntp://.../.../...
3) added missing mime types
4) added line ending styles
5) added missing keywords
author | thomask |
---|---|
date | Tue, 16 Nov 2004 16:00:10 +0000 |
parents | 24da167d3f07 |
children | 1f6cf5ccfbc9 |
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 |
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/438 | |
111 | 9 |
10 module dstress.nocompile.bug_cgcs_353; | |
11 | |
12 struct Bug { | |
13 ubyte[64] buffer; | |
14 | |
15 void fn(ubyte[] input){ | |
16 uint i; | |
17 | |
18 i = 64-buffer.length; | |
19 buffer[] ~= input[0..i]; | |
20 } | |
21 } | |
22 |