mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
247 B
Solidity
12 lines
247 B
Solidity
pragma experimental SMTChecker;
|
|
contract C {
|
|
function f() public pure returns(int) {
|
|
int a;
|
|
(,, a) = ((((((1, 3, (((((2)))))))))));
|
|
assert(a == 2);
|
|
assert(a == 3);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 6328: (157-171): Assertion violation happens here
|