blob: 22e3c3153362017e36c2424a57e2ca9b9912a3a5 [file] [log] [blame]
/* TEST_OUTPUT:
---
fail_compilation/test17380.d(12): Error: undefined identifier `ThisTypeDoesNotExistsAndCrahesTheCompiler`
---
* https://issues.dlang.org/show_bug.cgi?id=17380
*/
struct Int128
{
Uint128 opCast()
{
return ThisTypeDoesNotExistsAndCrahesTheCompiler;
}
alias opCast this;
}
struct Uint128
{
Int128 opCast() { return Int128.init; }
alias opCast this;
}