mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
236 B
Solidity
12 lines
236 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C {
|
|
function f(uint b) public pure returns (uint d) {
|
|
require(b < 10);
|
|
uint c = b < 5 ? 5 : 1;
|
|
d = c > 5 ? 3 : 2;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 6838: (148-153): BMC: Condition is always false.
|