[Bug 54] Compiler segfault on zero length static array

Thomas Kuehne thomas-dloop at kuehne.cn
Sat Mar 18 23:44:20 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-03-16:
> Here's another version:
>
> template declare(X) { X declare; }
> typeof(declare!(typeof(""))[0..$]) y;

Added to DStress as
http://dstress.kuehne.cn/run/t/typeof_08_A.d
http://dstress.kuehne.cn/run/t/typeof_08_B.d
http://dstress.kuehne.cn/run/t/typeof_08_C.d
http://dstress.kuehne.cn/run/t/typeof_08_D.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEHQIl3w+/yD4P9tIRAisSAKChxbZhfqWo2QCVmdqCoZbeHYLTnACfUPGy
mc8ksvxf0oHas1xlWegDBjk=
=+92v
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list