solidity/test/libsolidity/smtCheckerTests/array_members/length_copy_memory_to_storage.sol
2020-05-14 23:32:29 +02:00

10 lines
156 B
Solidity

pragma experimental SMTChecker;
contract C {
uint[] arr;
function f(uint[] memory marr) public {
arr = marr;
assert(marr.length == arr.length);
}
}