Bug 7647 – ICE(machobj.c) with two main() functions

Status
RESOLVED
Resolution
DUPLICATE
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2012-03-04T14:25:00Z
Last change time
2012-04-20T11:49:40Z
Keywords
accepts-invalid, ice
Assigned to
nobody
Creator
christian.koestlin
Depends on
5634
See also
http://d.puremagic.com/issues/show_bug.cgi?id=5634

Comments

Comment #0 by christian.koestlin — 2012-03-04T14:25:00Z
create files test1.d: void main(string[] args) {} and test2.d: void main(string[] args) {} and run dmd test1.d test2.d with dmd-version 2.058 -> Internal error: ../ztc/machobj.c 2158
Comment #1 by lovelydear — 2012-04-20T09:37:09Z
Dupl
Comment #2 by dmitry.olsh — 2012-04-20T11:49:40Z
Then mark it as such. *** This issue has been marked as a duplicate of issue 5634 ***