blob: 0711309318f6aa2a37ac429a9f9fe193021b3b8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
contract C {
uint[] x;
function() external {
uint[] storage y = x;
assembly {
pop(y)
}
}
}
// ----
// TypeError: (118-119): You have to use the _slot or _offset suffix to access storage reference variables.
|