solidity/test/libsolidity/syntaxTests/array/no_array_pop.sol

9 lines
196 B
Solidity
Raw Normal View History

contract C {
uint data;
function test() public {
data.pop();
}
}
// ----
// TypeError: (63-71): Member "pop" not found or not visible after argument-dependent lookup in uint256.