solidity/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_fine.sol

12 lines
178 B
Solidity

contract C {
uint[] x;
fallback() external {
uint[] storage y = x;
assembly {
pop(y.slot)
pop(y.offset)
}
}
}
// ----