October 02, 2017 [Issue 17874] New: Segmentation fault when constructing a struct with a static | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17874 Issue ID: 17874 Summary: Segmentation fault when constructing a struct with a static Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: briancschott@gmail.com test.d: --------------------------- struct ProfitCoef { float f = 0f; double d = 0.0; } struct TheStruct { ulong a; ProfitCoef[1] b; } void main() { auto t = TheStruct(0); } --------------------------- $ rdmd test.d Segmentation fault (core dumped) -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply