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

9 lines
167 B
Solidity

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