mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
284 B
Solidity
14 lines
284 B
Solidity
contract C {
|
|
uint x;
|
|
function f(address _a) public {
|
|
x = 2;
|
|
_a.call("");
|
|
assert(x == 2); // should fail
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: bmc
|
|
// ----
|
|
// Warning 9302: (66-77): Return value of low-level calls not used.
|
|
// Warning 4661: (81-95): BMC: Assertion violation happens here.
|