This commit is contained in:
chriseth
2021-11-04 16:38:07 +01:00
parent 776ae466bc
commit 766d10b848
2 changed files with 10 additions and 6 deletions
@@ -1,7 +1,7 @@
{
function a() {
{
function b() { if calldataloda(0) { return(0, 0) } }
function b() { if calldataload(0) { return(0, 0) } }
b()
}
{
@@ -9,11 +9,15 @@
b()
}
}
function b() {
leave
revert(0, 0)
{
function b() {
leave
revert(0, 0)
}
}
}
// ----
// a: can revert
// a: can terminate, can revert
// b: can terminate, can continue
// b: can revert
// b: can continue
@@ -31,7 +31,7 @@
// b: can revert
// c:
// d:
// reg: can continue
// x:
// y:
// z:
// reg: can continue