mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
176 B
Solidity
11 lines
176 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C {
|
|
uint256[] x;
|
|
constructor() public { x.push(42); }
|
|
function f() public {
|
|
x.push(23);
|
|
assert(x[0] == 42 || x[0] == 23);
|
|
}
|
|
}
|