solidity/test/libsolidity/smtCheckerTests/special/difficulty.sol
2021-04-08 21:03:39 +02:00

12 lines
223 B
Solidity

contract C
{
function f(uint difficulty) public view {
assert(block.difficulty == difficulty);
}
}
// ====
// SMTEngine: all
// SMTIgnoreCex: yes
// ----
// Warning 6328: (58-96): CHC: Assertion violation happens here.