aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/special/msg_sender_2.sol
blob: ad45d0761156d4d8fda66dd7ea38a1396b9c1bc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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): Assertion checker does not yet implement this expression.
// Warning: (98-108): Internal error: Expression undefined for SMT solver.