solidity/test/libsolidity/semanticTests/reverts/invalid_instruction.sol

14 lines
180 B
Solidity

contract C {
function f() public {
assembly {
invalid()
}
}
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() -> FAILURE