solidity/test/libsolidity/smtCheckerTests/functions/function_external_call_should_not_inline_1.sol
2020-08-05 11:47:25 +02:00

17 lines
327 B
Solidity

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.