solidity/test/libsolidity/syntaxTests/array/array_pop_arg.sol
Erik Kundt 98d52beba3 Adds syntax tests, documentation and changelog entry.
Refines comment for array utility function.
2018-05-30 17:43:20 +02:00

9 lines
191 B
Solidity

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