2020-08-28 09:59:15 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
uint[] a;
|
|
|
|
function g() internal view {
|
|
|
|
a.length;
|
|
|
|
}
|
|
|
|
function f() public {
|
|
|
|
a.pop();
|
|
|
|
g();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-10-27 08:24:32 +00:00
|
|
|
// Warning 2529: (127-134): CHC: Empty array "pop" happens here.
|