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

15 lines
215 B
Solidity

contract C
{
function f(uint x) public pure {
x = 0;
while (x < 10)
break;
assert(x == 0);
}
}
// ====
// SMTEngine: all
// SMTSolvers: z3
// ----
// Warning 6838: (65-71): BMC: Condition is always true.