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

10 lines
156 B
Solidity
Raw Normal View History

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