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

9 lines
152 B
Solidity
Raw Normal View History

2020-04-14 09:09:38 +00:00
pragma experimental SMTChecker;
contract C {
mapping (uint => uint[]) map;
function f() public view {
assert(map[0].length == map[1].length);
}
}