solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/383_inline_assembly_storage_variable_access_out_of_functions.sol

10 lines
172 B
Solidity
Raw Normal View History

pragma experimental "v0.5.0";
contract test {
uint a;
function f() pure public {
assembly {
function g() -> x { x := a_slot }
}
}
}