https://issues.dlang.org/show_bug.cgi?id=22627
Issue ID: 22627
Summary: Wrong mixin template ctor causes "Error: unknown,
please file report on issues.dlang.org"
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
class Test
{
mixin __ctorBody;
immutable mixin __ctorBody;
private mixin template __ctorBody()
{
this(){}
}
}
void main()
{
auto c = new shared Test();
}
--
