ldc
ldc copied to clipboard
assert(0) as ternary RHS => crash
int front(int param)
{
return param ? 1 : assert(0);
}
Also causes an assertion failure in dmd (https://issues.dlang.org/show_bug.cgi?id=22587). Is it even valid code?