solidity/test/libsolidity/smtCheckerTests/operators/delete_array_2d.sol
2019-09-02 22:37:30 +02:00

12 lines
148 B
Solidity

pragma experimental SMTChecker;
contract C
{
uint[][] a;
function f() public {
require(a[2][3] == 4);
delete a;
assert(a[2][3] == 0);
}
}