2020-08-28 09:59:15 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
uint[] a;
|
|
|
|
function f() public {
|
|
|
|
a.pop();
|
|
|
|
a.push();
|
|
|
|
a.push();
|
|
|
|
a.push();
|
|
|
|
a.pop();
|
|
|
|
a.pop();
|
|
|
|
a.pop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-09-09 14:12:55 +00:00
|
|
|
// Warning 2529: (82-89): Empty array "pop" detected here.
|