2020-12-18 18:10:32 +00:00
|
|
|
interface D { function e() external; }
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
bool locked = true;
|
|
|
|
|
|
|
|
function call(address target) public {
|
|
|
|
locked = false;
|
|
|
|
D(target).e();
|
|
|
|
locked = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
function broken() public view {
|
|
|
|
assert(locked);
|
|
|
|
}
|
|
|
|
}
|
2021-03-31 15:11:54 +00:00
|
|
|
// ====
|
|
|
|
// SMTEngine: all
|
2022-08-26 12:33:59 +00:00
|
|
|
// SMTIgnoreOS: macos
|
2020-12-18 18:10:32 +00:00
|
|
|
// ----
|
2021-11-23 17:08:36 +00:00
|
|
|
// Warning 1218: (206-220): CHC: Error trying to invoke SMT solver.
|
|
|
|
// Warning 6328: (206-220): CHC: Assertion violation might happen here.
|
|
|
|
// Warning 4661: (206-220): BMC: Assertion violation happens here.
|