You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function fails to return a value even though it has return type ulong, but since there is an inline assembly block, instead of emitting an error the compiler crashes:
ulongfoo() {
asm {
"nop";
}
}
$ ldc2 test.d
Function return type does not match operand type of return inst!
ret void
i64LLVM ERROR: Broken function found, compilation aborted!
#0 0x000055fa024ee053 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/zyedidia/ldc2-1.32.0/bin/ldc2+0x5fd6053)
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
This function fails to return a value even though it has return type
ulong
, but since there is an inline assembly block, instead of emitting an error the compiler crashes:The text was updated successfully, but these errors were encountered: