solidity/test/libsolidity/smtCheckerTests/functions/functions_trivial_condition_if.sol
2022-04-01 23:41:18 -05:00

9 lines
168 B
Solidity

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