blob: d0f263eb319736259d75e81868180941d2fcc23e (
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(blockhash(2) > 0);
}
}
// ----
// Warning: (86-98): Assertion checker does not yet support this special variable.
// Warning: (86-98): Assertion checker does not yet implement this type.
// Warning: (86-102): Assertion checker does not yet implement the type bytes32 for comparisons
// Warning: (86-102): Internal error: Expression undefined for SMT solver.
// Warning: (79-103): Assertion violation happens here
|