aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/special/msg_sig.sol
blob: 6f83217916d4803a151483395103de9e52c29d1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pragma experimental SMTChecker;

contract C
{
    function f() public payable {
        assert(msg.sig == 0x00000000);
    }
}
// ----
// Warning: (86-93): Assertion checker does not yet support this special variable.
// Warning: (86-93): Assertion checker does not yet implement this type.
// Warning: (86-107): Assertion checker does not yet implement the type bytes4 for comparisons
// Warning: (86-107): Internal error: Expression undefined for SMT solver.
// Warning: (79-108): Assertion violation happens here