aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/375_inline_assembly_unbalanced_two_stack_load.sol
blob: 4cda64e7cbefb676eac89314c75183358ed2afd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
pragma experimental "v0.5.0";
contract c {
    uint8 x;
    function f() public {
        assembly { pop(x) }
    }
}
// ----
// TypeError: (105-106): Only local variables are supported. To access storage variables, use the _slot and _offset suffixes.