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)
}
}
}
// ----