2020-08-28 09:59:15 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
uint[] a;
|
|
|
|
function g() internal {
|
|
|
|
a.push();
|
|
|
|
}
|
|
|
|
function f() public {
|
|
|
|
a.pop();
|
|
|
|
g();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-09-25 17:09:06 +00:00
|
|
|
// Warning 2529: (122-129): CHC: Empty array "pop" detected here.
|