solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/storage_variable_access_out_of_functions.sol

9 lines
142 B
Solidity

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