2020-05-14 18:09:52 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
abstract contract D {
|
|
|
|
function d() external virtual;
|
|
|
|
}
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
uint x;
|
|
|
|
D d;
|
|
|
|
|
|
|
|
function inc() public {
|
|
|
|
++x;
|
|
|
|
}
|
|
|
|
|
|
|
|
function f() public {
|
|
|
|
d.d();
|
|
|
|
assert(x < 10);
|
|
|
|
}
|
|
|
|
}
|
2020-12-10 13:06:34 +00:00
|
|
|
// ====
|
|
|
|
// SMTIgnoreCex: yes
|
2020-05-14 18:09:52 +00:00
|
|
|
// ----
|
2020-12-10 15:51:10 +00:00
|
|
|
// Warning 4984: (146-149): CHC: Overflow (resulting value larger than 2**256 - 1) might happen here.
|
2020-12-18 18:10:32 +00:00
|
|
|
// Warning 4984: (146-149): CHC: Overflow (resulting value larger than 2**256 - 1) might happen here.
|
2020-12-10 13:06:34 +00:00
|
|
|
// Warning 6328: (189-203): CHC: Assertion violation happens here.
|
2020-09-25 17:09:06 +00:00
|
|
|
// Warning 2661: (146-149): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|