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

13 lines
157 B
Solidity
Raw Normal View History

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