struct Test { this(int i) { } } void foo(Test test = Test(0)) { } void main() { foo(); } Output: Internal error: ..\ztc\out.c 1201
Looks like another case of bug 2437 = bug 2935. The same root cause gives an ICE in three different places.
No, it's the same as bug 2935. *** This issue has been marked as a duplicate of issue 2935 ***