mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
399 B
Solidity
17 lines
399 B
Solidity
contract C {
|
|
uint x;
|
|
function s(uint _x) public view {
|
|
x == _x;
|
|
}
|
|
function f(address a) public {
|
|
(bool s, bytes memory data) = a.call("");
|
|
assert(x == 0); // should hold
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// ----
|
|
// Warning 2519: (106-112): This declaration shadows an existing declaration.
|
|
// Warning 2072: (106-112): Unused local variable.
|
|
// Warning 2072: (114-131): Unused local variable.
|