solidity/test/libsolidity/smtCheckerTests/functions/functions_identifier_nested_tuple_3.sol
2022-04-01 23:41:18 -05:00

12 lines
289 B
Solidity

contract C {
int[]data;
function f() public {
(data.pop)();
}
}
// ====
// SMTEngine: all
// ----
// Warning 2529: (63-75='(data.pop)()'): CHC: Empty array "pop" happens here.\nCounterexample:\ndata = []\n\nTransaction trace:\nC.constructor()\nState: data = []\nC.f()