solidity/test/libsolidity/smtCheckerTests/functions/function_external_call_should_not_inline_1.sol

17 lines
327 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract State {
C c;
function f() public returns (uint) {
while(true)
c.setOwner();
}
}
contract C {
address owner;
function setOwner() public {
owner = address(0);
}
}
// ----
// Warning 5084: (198-208): Type conversion is not yet fully supported and might yield false positives.