← Back to index
|
Original Bugzilla link
Bug 354 – Internal error: e2ir.c 772 with bad template use
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-09-17T00:31:00Z
Last change time
2014-02-15T13:22:11Z
Assigned to
bugzilla
Creator
chris
Comments
Comment #0
by chris — 2006-09-17T00:31:05Z
import std.stdio; template GetNumber() { const int GetNumber = 0; } void main() { writefln(GetNumber); } >dmd test GetNumber() Internal error: e2ir.c 772
Comment #1
by thomas-dloop — 2006-09-20T14:20:49Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[email protected]
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-----
Comment #2
by bugzilla — 2006-11-25T03:49:23Z
Fixed DMD 0.175