2018-10-10 12:31:49 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
|
|
{
|
|
|
|
uint a;
|
|
|
|
function f(uint x) public {
|
|
|
|
uint y;
|
|
|
|
a = (y = x);
|
|
|
|
}
|
|
|
|
function g() public {
|
|
|
|
f(0);
|
|
|
|
assert(a > 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 4661: (144-157): Assertion violation happens here
|