Adds storage_reference.sol syntax test

This commit is contained in:
D-Nice
2018-06-27 19:42:46 -04:00
committed by GitHub
parent b2f0d1db43
commit d62476fb1f
@@ -0,0 +1,11 @@
contract C {
uint[] x;
function() {
uint[] storage y = x;
assembly {
pop(y)
}
}
}
// ----
// TypeError: (110-111): You have to use the _slot or _offset suffix to access storage reference variables.