solidity/test/libsolidity/smtCheckerTests/typecast/cast_address_1.sol
2019-01-16 13:00:54 +01:00

13 lines
348 B
Solidity

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