This commit is contained in:
chriseth
2019-10-29 14:32:16 +01:00
parent 91a92a01d5
commit 499fe57d33
9 changed files with 188 additions and 0 deletions
@@ -0,0 +1,10 @@
contract C {
function f() public pure {
assembly {
function f() {
leave
}
}
}
}
// ----
@@ -0,0 +1,9 @@
contract C {
function f() public pure {
assembly {
leave
}
}
}
// ----
// SyntaxError: (63-68): Keyword "leave" can only be used inside a function.