mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
201 B
Solidity
16 lines
201 B
Solidity
|
pragma experimental SMTChecker;
|
||
|
|
||
|
contract C
|
||
|
{
|
||
|
uint[][][] c;
|
||
|
function f(bool b) public {
|
||
|
c[0][0][0] = 0;
|
||
|
if (b)
|
||
|
c[0][0][0] = 1;
|
||
|
else
|
||
|
c[0][0][0] = 2;
|
||
|
assert(c[0][0][0] > 0);
|
||
|
}
|
||
|
}
|
||
|
// ----
|