aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/375_inline_assembly_unbalanced_two_stack_load.sol
blob: ca1e15a929fed073f458a8dc2828f98d5ac4fc7f (plain) (tree)
1
2
3
4
5
6
7
8






                           
                                                                                                                           
contract c {
    uint8 x;
    function f() public {
        assembly { pop(x) }
    }
}
// ----
// TypeError: (75-76): Only local variables are supported. To access storage variables, use the _slot and _offset suffixes.