This commit is contained in:
chriseth 2021-11-03 17:12:58 +01:00
parent 776ae466bc
commit 766d10b848
2 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{ {
function a() { function a() {
{ {
function b() { if calldataloda(0) { return(0, 0) } } function b() { if calldataload(0) { return(0, 0) } }
b() b()
} }
{ {
@ -9,11 +9,15 @@
b() b()
} }
} }
{
function b() { function b() {
leave leave
revert(0, 0) revert(0, 0)
} }
}
} }
// ---- // ----
// a: can revert // a: can terminate, can revert
// b: can terminate, can continue
// b: can revert
// b: can continue // b: can continue

View File

@ -31,7 +31,7 @@
// b: can revert // b: can revert
// c: // c:
// d: // d:
// reg: can continue
// x: // x:
// y: // y:
// z: // z:
// reg: can continue