D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7647 - ICE(machobj.c) with two main() functions
Summary: ICE(machobj.c) with two main() functions
Status: RESOLVED DUPLICATE of issue 5634
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Mac OS X
: P2 minor
Assignee: No Owner
URL:
Keywords: accepts-invalid, ice
Depends on: 5634
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-04 14:25 UTC by Christian Köstlin
Modified: 2012-04-20 11:49 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Christian Köstlin 2012-03-04 14:25:00 UTC
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 SomeDude 2012-04-20 09:37:09 UTC
Dupl
Comment 2 Dmitry Olshansky 2012-04-20 11:49:40 UTC
Then mark it as such.

*** This issue has been marked as a duplicate of issue 5634 ***