mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
260 B
Solidity
12 lines
260 B
Solidity
contract C {
|
|
uint[] x;
|
|
fallback() external {
|
|
uint[] storage y = x;
|
|
assembly {
|
|
pop(y)
|
|
}
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 9068: (118-119): You have to use the .slot or .offset suffix to access storage reference variables.
|