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

14 lines
180 B
Solidity
Raw Normal View History

contract C {
function f() public {
assembly {
invalid()
}
}
}
// ====
// compileToEwasm: also
2021-02-12 12:45:15 +00:00
// compileViaYul: also
// ----
// f() -> FAILURE