solidity/test/libsolidity/smtCheckerTests/typecast/cast_address_1.sol

13 lines
358 B
Solidity
Raw Normal View History

2018-12-20 12:20:07 +00:00
pragma experimental SMTChecker;
contract C
{
function f(address a) public pure {
require(a != address(0));
assert(a != address(0));
}
}
// ----
// Warning 5084: (98-108): Type conversion is not yet fully supported and might yield false positives.
// Warning 5084: (125-135): Type conversion is not yet fully supported and might yield false positives.