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

9 lines
164 B
Solidity

contract C
{
function f(bool x) public pure { require(x); if (x) {} }
}
// ====
// SMTEngine: all
// ----
// Warning 6838: (63-64): BMC: Condition is always true.