2019-05-06 18:03:11 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C
|
|
|
|
{
|
|
|
|
modifier m {
|
|
|
|
if (true)
|
|
|
|
_;
|
|
|
|
}
|
|
|
|
|
|
|
|
function f(address a) m public pure {
|
|
|
|
if (true) {
|
|
|
|
a = g();
|
|
|
|
assert(a == address(0));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function g() public pure returns (address) {
|
|
|
|
address a;
|
|
|
|
a = address(0);
|
|
|
|
return a;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 5084: (247-257): Type conversion is not yet fully supported and might yield false positives.
|
|
|
|
// Warning 5084: (162-172): Type conversion is not yet fully supported and might yield false positives.
|
|
|
|
// Warning 5084: (247-257): Type conversion is not yet fully supported and might yield false positives.
|