September 23, 2005 concat string literal to char | ||||
---|---|---|---|---|
| ||||
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
|
September 25, 2005 Re: concat string literal to char | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander Attachments:
| 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 |
Copyright © 1999-2021 by the D Language Foundation