solidity/test/libsolidity/smtCheckerTests/operators/delete_array_2d.sol

12 lines
148 B
Solidity
Raw Normal View History

2019-05-06 16:24:15 +00:00
pragma experimental SMTChecker;
contract C
{
uint[][] a;
function f() public {
require(a[2][3] == 4);
delete a;
assert(a[2][3] == 0);
}
}