solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/unbalanced_two_stack_load.sol
2022-04-01 23:41:18 -05:00

9 lines
233 B
Solidity

contract c {
uint8 x;
function f() public {
assembly { pop(x) }
}
}
// ----
// TypeError 1408: (75-76='x'): Only local variables are supported. To access storage variables, use the ".slot" and ".offset" suffixes.