[Issue 354] New: Internal error: e2ir.c 772 with bad template use

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Sep 20 12:19:18 PDT 2006


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

d-bugmail at puremagic.com schrieb am 2006-09-17:
> http://d.puremagic.com/issues/show_bug.cgi?id=354

> import std.stdio;
>
> template GetNumber()
> {
>         const int GetNumber = 0;
> }
>
> void main()
> {
>         writefln(GetNumber);
> }
>
>
>>dmd test
> GetNumber()
> Internal error: e2ir.c 772

Added to DStress as
http://dstress.kuehne.cn/run/b/bug_e2ir_772_A.d
http://dstress.kuehne.cn/run/b/bug_e2ir_772_B.d
http://dstress.kuehne.cn/run/b/bug_e2ir_772_C.d
http://dstress.kuehne.cn/run/b/bug_e2ir_772_D.d
http://dstress.kuehne.cn/run/b/bug_e2ir_772_E.d
http://dstress.kuehne.cn/run/b/bug_e2ir_772_F.d
http://dstress.kuehne.cn/compile/b/bug_e2ir_772_G.d
http://dstress.kuehne.cn/compile/b/bug_e2ir_772_H.d
http://dstress.kuehne.cn/compile/b/bug_e2ir_772_I.d
http://dstress.kuehne.cn/compile/b/bug_e2ir_772_J.d

Thomas


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

iD8DBQFFEY0dLK5blCcjpWoRAhDdAJ9c98AlxsAy8mVccV/YHuRsigKTswCgiy1r
bpDn9L3uFDNw9Pw0SPcjgqY=
=Xt65
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list