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

12 lines
178 B
Solidity
Raw Normal View History

2018-06-28 20:45:53 +00:00
contract C {
uint[] x;
function() external {
2018-06-28 20:45:53 +00:00
uint[] storage y = x;
assembly {
pop(y_slot)
pop(y_offset)
}
}
}
// ----