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

13 lines
156 B
Solidity
Raw Normal View History

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