solidity/test/libsolidity/smtCheckerTests/special/blockhash.sol

11 lines
173 B
Solidity

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