aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/special/blockhash.sol
blob: 1c69391424a4d1a387f90dfdf4de5343521ede82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
pragma experimental SMTChecker;

contract C
{
    function f() public payable {
        assert(blockhash(2) > 0);
    }
}
// ----
// Warning: (79-103): Assertion violation happens here