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

9 lines
171 B
Solidity

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