solidity/test/libyul/controlFlowSideEffects/leave.yul

14 lines
168 B
Plaintext
Raw Normal View History

2021-10-04 16:09:08 +00:00
{
function a() {
revert(0, 0)
leave
}
function b() {
leave
revert(0, 0)
}
}
// ----
// a: can revert
// b: can continue