solidity/test/libsolidity/smtCheckerTests/array_members/length_function_call.sol

11 lines
185 B
Solidity
Raw Normal View History

2020-04-14 09:09:38 +00:00
pragma experimental SMTChecker;
contract C {
uint[] arr;
function f() public view {
assert(arr.length == g().length);
}
function g() internal pure returns (uint[] memory) {
}
}