digitalmars.D.bugs - casting to bit
- kenny <funisher gmail.com> Jul 16 2005
I realize this isn't right, but nonetheless it crashes 0.128 :)
int main(char[][] args)
{
printf("compression tests:");
char[] data;
data = new char[8];
bit* pData;
pData = &cast(bit*)data;
return 0;
}
Jul 16 2005
Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit kenny wrote:I realize this isn't right, but nonetheless it crashes 0.128 :) int main(char[][] args) { printf("compression tests:"); char[] data; data = new char[8]; bit* pData; pData = &cast(bit*)data; return 0; }
Added to DStress as http://dstress.kuehne.cn/nocompile/o/cast_28.d Thomas
Jul 18 2005








=?ISO-8859-1?Q?Thomas_K=FChne?= <thomas-dloop kuehne.THISISSPAM.cn>