D.gnu - concat string literal to char
- Carlos Santander <csantander619 gmail.com> Sep 22 2005
This file:
//-----------
int main(char [][] args)
{
char [] foo;
foo="<"~foo[0];
return 0;
}
//-----------
Produces:
err.d: In function `main':
err.d:4: internal compiler error: in rawArray, at d/d-codegen.cc:981
Using gdc 0.15, Mac OS X 10.3.9.
--
Carlos Santander Bernal
Sep 22 2005
Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Carlos Santander schrieb:This file: //----------- int main(char [][] args) { char [] foo; foo="<"~foo[0]; return 0; } //----------- Produces: err.d: In function `main': err.d:4: internal compiler error: in rawArray, at d/d-codegen.cc:981 Using gdc 0.15, Mac OS X 10.3.9.
Added to DStress as http://dstress.kuehne.cn/run/b/bug_d_codegen_981_A.d Thomas
Sep 24 2005








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