solidity/test/libsolidity/syntaxTests/array/array_pop_arg.sol
2022-04-01 23:41:18 -05:00

9 lines
210 B
Solidity

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