solidity/test/libsolidity/smtCheckerTests/array_members/length_function_call.sol
2021-10-26 11:30:30 +02:00

13 lines
251 B
Solidity

contract C {
uint[] arr;
function f() public view {
assert(arr.length == g().length);
}
function g() internal pure returns (uint[] memory) {
}
}
// ====
// SMTEngine: all
// ----
// Info 1180: Contract invariant(s) for :C:\n(arr.length <= 0)\n