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

14 lines
297 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 5084: (98-108): Type conversion is not yet fully supported and might yield false positives.