mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
19 lines
431 B
Solidity
19 lines
431 B
Solidity
interface D { function e() external; }
|
|
|
|
contract C {
|
|
bool locked = true;
|
|
|
|
function call(address target) public {
|
|
assert(locked);
|
|
locked = false;
|
|
D(target).e();
|
|
locked = true;
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// ----
|
|
// Warning 1218: (117-131): CHC: Error trying to invoke SMT solver.
|
|
// Warning 6328: (117-131): CHC: Assertion violation might happen here.
|
|
// Warning 4661: (117-131): BMC: Assertion violation happens here.
|