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

11 lines
171 B
Solidity

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