This code:
import std.typecons: Typedef;
alias Line = Typedef!int;
void foo(Line line = __LINE__) { }
void main(){ foo(); }
On DMD:
__LINE__
Illegal instruction (core dumped)
On LDC2:
Error: Internal compiler error: Type Expression not implemented: __LINE__