mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
252 B
Solidity
10 lines
252 B
Solidity
|
pragma experimental "v0.5.0";
|
||
|
contract c {
|
||
|
uint8 x;
|
||
|
function f() public {
|
||
|
assembly { pop(x) }
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (105-106): Only local variables are supported. To access storage variables, use the _slot and _offset suffixes.
|