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

14 lines
180 B
Solidity
Raw Normal View History

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