D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3296 - DMD crash with no output
Summary: DMD crash with no output
Status: RESOLVED DUPLICATE of issue 3042
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
 
Reported: 2009-09-03 13:33 UTC by Koroskin Denis
Modified: 2015-06-09 01:28 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Koroskin Denis 2009-09-03 13:33:11 UTC
The following code crashes DMD. Can you find out what's wrong with it? :)

interface Interface
{
	void doStuff();
}

class Class : public Interface
{
	public final doStuff()
	{
	}
}
Comment 1 Koroskin Denis 2009-09-03 13:34:52 UTC
Probably related, the following code is accepted without a complaint:

class Class
{
	public final doStuff()
	{
	}
}

(not accepted if no 'final' presents)
Comment 2 Don 2009-09-04 00:26:13 UTC
This is the same as bug 3042, which already has a patch. The terrible thing about segfaults is it's really hard to see if the same bug has been reported before.

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