solidity/test/libsolidity/smtCheckerTests/special/msg_sender_2.sol

14 lines
292 B
Solidity
Raw Normal View History

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