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

9 lines
142 B
Solidity
Raw Normal View History

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