aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/array/array_pop_arg.sol
blob: bb7803e28b11b611362fd61b1f5d1bda107aabe5 (plain) (blame)
1
2
3
4
5
6
7
8
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.