[Issue 641] New: Complex string operations in template argument ICEs dmd
Thomas Kuehne
thomas-dloop at kuehne.cn
Sun Dec 10 09:01:08 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail at puremagic.com schrieb am 2006-12-03:
> http://d.puremagic.com/issues/show_bug.cgi?id=641
> // credit goes to http://pc8.2ch.net/test/read.cgi/tech/1158013550/960
> template g(char[] s){}
> void main(){ g!(([""]~[])[0]); }
> ----------------
> Assertion failure: 'e1->type' on line 5933 in file 'expression.c'
>
> abnormal program termination
Added to DStress as
http://dstress.kuehne.cn/nocompile/b/bug_expression_5981_A.d
http://dstress.kuehne.cn/nocompile/b/bug_expression_5981_B.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFfD1+LK5blCcjpWoRAvoVAJ9lvcJImrCFHIt6r+7ZHTxW/L3EmQCgn+vB
qhCxP3anL46QmSwS5rxtKfg=
=tHHZ
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list