solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
contract C {
    function f() public pure {
        assembly {
            // Make sure this doesn't trigger the unimplemented assertion in the control flow builder.
            leave
        }
    }
}
// ----
// SyntaxError 8149: (178-183): Keyword "leave" can only be used inside a function.