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

14 lines
292 B
Solidity

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);
}
}
// ----
// Warning: (98-108): Type conversion is not yet fully supported and might yield false positives.