[Issue 484] New: Compiler segfault with template variadic used as a template alias.

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Nov 23 02:54:13 PST 2006


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

d-bugmail at puremagic.com schrieb am 2006-11-06:
> http://d.puremagic.com/issues/show_bug.cgi?id=484

> I'm not sure what this should do, actually -- but it shouldn't crash.
> --------
> template g(alias B)
> {
>     int g = 2;
> }
>
> int f(A...)(A a)
> {
>     return g!(a);
> }
>
> int main()
> {
>     return f(4);
> }

Added to DStress as
http://dstress.kuehne.cn/run/t/tuple_02_A.d

Thomas


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

iD8DBQFFZYWiLK5blCcjpWoRAhHQAJ9QB1y8yR/x7DAmpD0jd+d8SXKysQCgh7ac
ZpcVLkU5L7wnVmlTJou495M=
=2Cyw
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list