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

15 lines
224 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='x < 10'): BMC: Condition is always true.