solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/383_inline_assembly_storage_variable_access_out_of_functions.sol
2018-08-06 12:03:00 +01:00

9 lines
142 B
Solidity

contract test {
uint a;
function f() pure public {
assembly {
function g() -> x { x := a_slot }
}
}
}