[Issue 1803] New: Stack overflow on manifest constant of struct within struct
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 24 04:26:22 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1803
Summary: Stack overflow on manifest constant of struct within
struct
Product: D
Version: 2.010
Platform: PC
OS/Version: Windows
Status: NEW
Severity: critical
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: sardonicpresence at gmail.com
The following code results in a Stack overflow in 2.0.10 under Windows:
public struct Overflow
{
enum Overflow constant = {};
}
Works fine for classes.
Adding member fields to struct and initialiser doesn't change the crash.
--
More information about the Digitalmars-d-bugs
mailing list