aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/special/msg_sender_2.sol
blob: f122f4f2309d64df73eafc9d1141cd485abb6161 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.