mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
333 B
Solidity
17 lines
333 B
Solidity
pragma experimental SMTChecker;
|
|
contract Other {
|
|
C c;
|
|
function h(bool b) public {
|
|
if (b)
|
|
c.setOwner(address(0));
|
|
}
|
|
}
|
|
contract C {
|
|
address owner;
|
|
function setOwner(address _owner) public {
|
|
owner = _owner;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 5084: (107-117): Type conversion is not yet fully supported and might yield false positives.
|