https://issues.dlang.org/show_bug.cgi?id=20062
Issue ID: 20062
Summary: Segfault
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
void main()
{
int g;
struct A
{
bool a()
{
return (g == 0);
}
}
auto b = new A[1];
b[0].a;
}
Segfaults at "return (g == 0);"
on "gdc (Debian 8.3.0-6) 8.3.0"
and on dlang.org online compiler, indicating a front end issue, so I reported
it for dmd.
--
