aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/373_inline_assembly_unbalanced_positive_stack.sol
blob: 273e1844e140a77e9632ed7af958cc212e31975a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
contract test {
    function f() public {
        assembly {
            1
        }
    }
}
// ----
// Warning: (73-74): Top-level expressions are not supposed to return values (this expression returns 1 value). Use ``pop()`` or assign them.
// DeclarationError: (59-84): Unbalanced stack at the end of a block: 1 surplus item(s).