aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/383_inline_assembly_storage_variable_access_out_of_functions.sol
blob: 7528f355d5c05f176fa6166dfb35d07c8c089f79 (plain) (blame)
1
2
3
4
5
6
7
8
9
pragma experimental "v0.5.0";
contract test {
    uint a;
    function f() pure public {
        assembly {
            function g() -> x { x := a_slot }
        }
    }
}