solidity/test/libsolidity/smtCheckerTests/functions/functions_identifier_nested_tuple_3.sol

11 lines
281 B
Solidity

pragma experimental SMTChecker;
contract C {
int[]data;
function f() public {
(data.pop)();
}
}
// ----
// Warning 2529: (95-107): CHC: Empty array "pop" happens here.\nCounterexample:\ndata = []\n\nTransaction trace:\nC.constructor()\nState: data = []\nC.f()