solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/unbalanced_two_stack_load.sol

9 lines
220 B
Solidity
Raw Normal View History

contract c {
uint8 x;
function f() public {
assembly { pop(x) }
}
}
// ----
2018-08-06 10:42:39 +00:00
// TypeError: (75-76): Only local variables are supported. To access storage variables, use the _slot and _offset suffixes.