2019-04-29 11:02:27 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C
|
|
|
|
{
|
|
|
|
function g() public pure {
|
|
|
|
uint x;
|
|
|
|
uint y;
|
|
|
|
(x, ) = (2, 4);
|
|
|
|
assert(x == 2);
|
|
|
|
assert(y == 4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 4661: (132-146): Assertion violation happens here
|