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

12 lines
179 B
Solidity

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