← Back to index
|
Original Bugzilla link
Bug 990 – Crash when compiling the following code
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2007-02-21T04:00:00Z
Last change time
2014-02-16T15:22:49Z
Assigned to
bugzilla
Creator
jascha
Comments
Comment #0
by jascha — 2007-02-21T04:00:03Z
// crashes DMD when compiled with -inline (without -debug) import std.stdio; void main(char[][] args) { foreach ( b; args ) debug writefln(b); }
Comment #1
by thomas-dloop — 2007-02-23T16:35:42Z
Test cases:
http://dstress.kuehne.cn/run/foreach_28.d
http://dstress.kuehne.cn/run/foreach_28_B.d
http://dstress.kuehne.cn/run/foreach_29.d
Comment #2
by thomas-dloop — 2007-03-02T08:28:00Z
*** This bug has been marked as a duplicate of 716 ***