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 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

View File

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