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

9 lines
196 B
Solidity

contract C {
uint[] data;
function test() public {
data.pop(5);
}
}
// ----
// TypeError 6160: (65-76): Wrong argument count for function call: 1 arguments given but expected 0.