solidity/test/libsolidity/smtCheckerTests/loops/for_loop_2.sol
2021-04-20 17:38:29 +02:00

12 lines
175 B
Solidity

contract C {
function f(uint x) public pure {
for (; x == 2; ) {
assert(x == 2);
}
}
}
// ====
// SMTEngine: all
// SMTSolvers: z3
// ----